GIT: [PATCH] exec_cmd: system_path memory leak fix
- From
0xAX <kuleshovmail@gmail.com>
- Date
- Nov 23, 2014, 13:56 UTC
- Message-ID
- <1416750981-24446-1-git-send-email-kuleshovmail@gmail.com>
Hello All, I found memory leak at exec_cmd.c in system_path function with valgrind. After this patch valgrind doesn't show any memory leaks, but I'm not sure that it is the best way to solve this problem. There are a couple of places that uses system_path, if this way will be good, i'll make another patches to fix this leak.
Waiting for feedback.
Signed-off-by: Alex Kuleshov <kuleshovmail@gmail.com>