test_command_line_internal: Fix variable original_argv going out of scope leaks the...
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 21 Apr 2015 12:14:26 +0000 (14:14 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 1 May 2015 21:05:14 +0000 (23:05 +0200)
commitc396b8ea5694852c7c89d3bf3b2ce1f1d68c0288
tree8568d3fa0bc7cf64dae7e0b21b764b73adf03a80
parent53fbfe0c706e020ed52bee0795fbb5436920317d
test_command_line_internal: Fix variable original_argv going out of scope leaks the storage it points to (CID 60588).

Reported by Coverity: CID 60588: Resource leak (RESOURCE_LEAK)

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=90021
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/shell-test.c