Commit 94f0d6db authored by Felix Hamann's avatar Felix Hamann

fixed memory error

parent cf0eafbd
......@@ -96,8 +96,9 @@ handle_req (
free (ret->msg);
}
rc = (ret->rc == SAM_RET_RESTART)? -1: 0;
free (ret);
return (ret->rc == SAM_RET_RESTART)? -1: 0;
return rc;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment