diff options
Diffstat (limited to 'tbl_qcmd.c')
-rw-r--r-- | tbl_qcmd.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |