murphy-db: don't leak result columns created in trigger column_event_callbacks.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Nov 2014 10:53:14 +0000 (12:53 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 6 Nov 2014 13:20:02 +0000 (15:20 +0200)
src/murphy-db/mql/trigger.c

index e1c1b1a..a214397 100644 (file)
@@ -545,6 +545,7 @@ static void column_event_callback(mqi_event_t *evt, void *user_data)
         free(rsel);
     else {
         cb->function(rslt, cb->user_data);
+        free(rsel);
         free(rslt);
     }
 }