index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/pacman.c | 5 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index edbcabd6..68f6b520 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -411,10 +411,7 @@ int main(int argc, char *argv[]) list_t *lp; #if defined(PACMAN_DEBUG) && !defined(CYGWIN) && !defined(BSD) - char *malloc_trace = (char *)getenv("MALLOC_TRACE"); - if(!malloc_trace) { - setenv("MALLOC_TRACE","pacman.mtrace"); - } + setenv("MALLOC_TRACE","pacman.mtrace", 0); mtrace(); #endif cenv = getenv("COLUMNS"); |