fix warning
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:27:39 +0000 (00:27 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 9 Mar 2010 05:27:39 +0000 (00:27 -0500)
ustd/ustd.c

index 046ac0c0835a551bcc15273b596226d1db757518..95dbdcaeaceb8c9501c44132ff251e413028de00 100644 (file)
@@ -559,11 +559,10 @@ void *consumer_thread(void *arg)
 
        consumer_loop(buf);
 
-       free(args->bufname);
+       free((void *)args->bufname);
        destroy_buffer(buf);
 
        end:
-       /* bufname is free'd in free_buffer() */
        free(args);
        return NULL;
 }
This page took 0.024747 seconds and 4 git commands to generate.