From 8003ee7d5eaaef71cfc81674b1644b6fa18b482e Mon Sep 17 00:00:00 2001
From: Lucas Russo <lerwys@gmail.com>
Date: Tue, 19 Apr 2016 16:43:46 -0300
Subject: [PATCH] dev_io/dev_io_core.c: remove bogus zmsg_destroy ()

---
 src/dev_io/dev_io_core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/dev_io/dev_io_core.c b/src/dev_io/dev_io_core.c
index ae15bf77..5e18872e 100644
--- a/src/dev_io/dev_io_core.c
+++ b/src/dev_io/dev_io_core.c
@@ -704,7 +704,6 @@ static int _devio_handle_pipe (zloop_t *loop, zsock_t *reader, void *args)
     if (streq (command, "$TERM")) {
         /* Shutdown the engine */
         free (command);
-        zmsg_destroy (&recv_msg);
         return -1;
     }
     else if (streq (command, "$REGISTER_SMIO")) {
-- 
GitLab