Hi,
I think your problem is at line 238

@@ -237,6 +236,10 @@

    pkg_free(ns);
    json_object_put(payload);
+   if (cmd->notify_only) free_pipe_cmd(cmd);
+error:
+   if (cmd->notify_only) free_pipe_cmd(cmd);
+   return;
 }

You are calling free_pipe_cmd before and after the error: label

Hugh


Reply to this email directly or view it on GitHub.