client: Fix memory leaks in handle_job_opt()
authorBart Van Assche <bvanassche@acm.org>
Sat, 18 Jan 2020 05:10:41 +0000 (21:10 -0800)
committerBart Van Assche <bvanassche@acm.org>
Sat, 18 Jan 2020 06:04:39 +0000 (22:04 -0800)
commitebae36a28aeedcb39ae86fde020502cfbb9dc65b
treec69805c2ab646f9c39082951e63c18d438a563fb
parente9c7be0e32e6ddaf40f73fd0ea1977a295842aec
client: Fix memory leaks in handle_job_opt()

This patch fixes the following Coverity complaint:

CID 169311 (#1 of 1): Resource leak (RESOURCE_LEAK)
9. leaked_storage: Variable p going out of scope leaks the storage it points to.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
client.c