From 8c017ed33e7d9a0f6e678e7f70922d1dddf413fc Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 16 Mar 2010 23:30:29 -0400 Subject: [PATCH] ustd: move a free in the error handling path --- ustd/ustd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ustd/ustd.c b/ustd/ustd.c index ce6f7e2..ac60b3d 100644 --- a/ustd/ustd.c +++ b/ustd/ustd.c @@ -584,10 +584,10 @@ void *consumer_thread(void *arg) consumer_loop(buf); - free((void *)args->bufname); destroy_buffer(buf); end: + free((void *)args->bufname); free(args); return NULL; } -- 2.34.1