From 9fc318d9ef1b3f2438e185d5a466dca03bcbcbb4 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 18 Aug 2014 23:55:39 +0200 Subject: [PATCH] output: Fix double free. --- src/output/output.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/output/output.c b/src/output/output.c index 787d75c7..b3dfad19 100644 --- a/src/output/output.c +++ b/src/output/output.c @@ -274,7 +274,6 @@ SR_API const struct sr_output *sr_output_new(const struct sr_output_module *o, } if (op->module->init && op->module->init(op, new_opts) != SR_OK) { - g_hash_table_destroy(new_opts); g_free(op); op = NULL; }