commit c663e79fdd94d49523cc7ff79a430b8a4a8e35c5
parent f31a73d2d3ac1c8bba74594726afbeae162ce751
Author: LRN <lrn1986@gmail.com>
Date: Tue, 7 Aug 2012 16:30:55 +0000
good free
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/main/extractor_ipc_w32.c b/src/main/extractor_ipc_w32.c
@@ -569,8 +569,10 @@ EXTRACTOR_IPC_channel_create_ (struct EXTRACTOR_PluginList *plugin,
{
LOG ("Failed to send INIT_STATE message to plugin\n");
EXTRACTOR_IPC_channel_destroy_ (channel);
+ free (init);
return NULL;
}
+ free (init);
return channel;
}