X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Futils.c;h=30a5f106ba8b19ec6ebbf26a059ff20fd278062c;hp=f75e7b0068a6b03df3c8f9fe2f2f0e1aeaaae2c3;hb=b86d5f3ff9f8056db2590f881044b7ecbfc21527;hpb=beb5945802e0598b04d41b4ad41fb49d701fa0f5 diff --git a/src/common/utils.c b/src/common/utils.c index f75e7b006..30a5f106b 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -189,6 +189,8 @@ char *utils_partial_realpath(const char *path, char *resolved_path, size_t size) error: free(resolved_path); free(cut_path); + free(try_path); + free(try_path_prev); return NULL; }