summaryrefslogtreecommitdiff
path: root/build/parseFiles.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-21 03:22:53 +0000
committerjbj <devnull@localhost>1999-09-21 03:22:53 +0000
commit20d78e939aa218e85ef19013769494851d863f13 (patch)
tree9fddb9815dafcdd8e7eb20bb4ec9fe3a80270b39 /build/parseFiles.c
parent78ce864c5eee9b2d4fc3a3a4a201818f4e500d50 (diff)
downloadlibrpm-tizen-20d78e939aa218e85ef19013769494851d863f13.tar.gz
librpm-tizen-20d78e939aa218e85ef19013769494851d863f13.tar.bz2
librpm-tizen-20d78e939aa218e85ef19013769494851d863f13.zip
fix: command line install had header memory leak.
check for NULL on all memory allocations. free rpmrc mallocs on exit. permit run time leak detection. CVS patchset: 3311 CVS date: 1999/09/21 03:22:53
Diffstat (limited to 'build/parseFiles.c')
-rw-r--r--build/parseFiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseFiles.c b/build/parseFiles.c
index a34da3971..2c6f2c492 100644
--- a/build/parseFiles.c
+++ b/build/parseFiles.c
@@ -77,7 +77,7 @@ int parseFiles(Spec spec)
}
if (file) {
- pkg->fileFile = strdup(file);
+ pkg->fileFile = xstrdup(file);
}
pkg->fileList = newStringBuf();