From: Jérémie Galarneau Date: Thu, 30 Nov 2017 23:23:44 +0000 (+0100) Subject: Clean-up: reduce scope of dyanamically-allocated string X-Git-Tag: v2.11.0-rc1~420 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=ddaec4a2b9b7c8be74166525bdcdff115c80d7c4;hp=ddaec4a2b9b7c8be74166525bdcdff115c80d7c4 Clean-up: reduce scope of dyanamically-allocated string tmpnew is only useful within the scope of the libdir check. It can be allocated and free()'d within that scope. Signed-off-by: Jérémie Galarneau ---