diff options
Diffstat (limited to 'src/rpath.c')
-rw-r--r-- | src/rpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpath.c b/src/rpath.c index 04d810e..108e3f2 100644 --- a/src/rpath.c +++ b/src/rpath.c @@ -210,7 +210,7 @@ char *rpath_autodetect(const char *filename) { // Change directory to the requested root chdir(start); - char *visit = calloc(PATH_MAX, sizeof(char)); // Current directory + char *visit = NULL; // Current directory char tmp[PATH_MAX]; // Current directory with lib directory appended char relative[PATH_MAX]; // Generated relative path to lib directory char sep[2]; // Holds the platform's directory separator |