X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Futils.c;h=bbe13ed7dc5474bfbd1fbe4124242d65d5391a7e;hb=931e61bacaa1784c6bf9fd4ee3b1e3db17c15098;hp=735d97f99c0ae675826853aa7a400a90f26afb05;hpb=ced42cfe274afa2e3433864ce0734f70d7f4cbb3;p=lttng-tools.git diff --git a/src/common/utils.c b/src/common/utils.c index 735d97f99..bbe13ed7d 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -176,6 +176,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; }