summaryrefslogtreecommitdiff
path: root/tbl_qcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl_qcmd.c')
-rw-r--r--tbl_qcmd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tbl_qcmd.c b/tbl_qcmd.c
index e7d74ac..b3b2a88 100644
--- a/tbl_qcmd.c
+++ b/tbl_qcmd.c
@@ -373,7 +373,7 @@ int tbl_qcmd_resp(tbl_qcmd *tbl, tble_cmd_resp *resp)
//check this for particular checks
if ((single_cmd->cid == resp->qid))
{
- return i;
+ return single_cmd->id;
}
}
@@ -414,8 +414,11 @@ int tbl_cmd_param_free(tble_cmd_param *param)
return -1;
}
+ PNL();
free(param->cmd);
+ PNL();
free(param->param);
+ PNL();
free(param);
return 0;