Makefile: Add testwrapper.sh to dist tarballs.
[collectd.git] / src / curl_xml.c
index 86cc87f..0f2b92b 100644 (file)
@@ -121,7 +121,7 @@ static size_t cx_curl_callback (void *buf, /* {{{ */
   {
     char *temp;
 
-    temp = (char *) realloc (db->buffer,
+    temp = realloc (db->buffer,
                     db->buffer_fill + len + 1);
     if (temp == NULL)
     {
@@ -170,7 +170,6 @@ static void cx_list_free (llist_t *list) /* {{{ */
   }
 
   llist_destroy (list);
-  list = NULL;
 } /* }}} void cx_list_free */
 
 static void cx_free (void *arg) /* {{{ */