index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/handle.c | 1 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 4d341a8b..34115b38 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -287,6 +287,7 @@ int SYMEXPORT alpm_option_set_root(const char *root) realroot = calloc(PATH_MAX+1, sizeof(char)); if(!realpath(root, realroot)) { + FREE(realroot); pm_errno = PM_ERR_NOT_A_DIR; return(-1); } |