diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-arch/pdv/files/pdv-1.5.1-early-free.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/pdv/files/pdv-1.5.1-early-free.patch')
-rw-r--r-- | app-arch/pdv/files/pdv-1.5.1-early-free.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-arch/pdv/files/pdv-1.5.1-early-free.patch b/app-arch/pdv/files/pdv-1.5.1-early-free.patch new file mode 100644 index 000000000000..6896d9437f47 --- /dev/null +++ b/app-arch/pdv/files/pdv-1.5.1-early-free.patch @@ -0,0 +1,21 @@ +diff -ur pdv-1.5.1-orig/mkpkgutils.c pdv-1.5.1/mkpkgutils.c +--- pdv-1.5.1-orig/mkpkgutils.c 2005-04-26 15:01:30.525131384 -0700 ++++ pdv-1.5.1/mkpkgutils.c 2005-04-26 15:55:19.004327944 -0700 +@@ -114,8 +114,6 @@ + if(access(fn_tst, R_OK) == 0) + fn = strdup(fn_tst); + +- free(fn_tst); +- + /* if we could not find it then try the search path + including the current directory as a last resort */ + +@@ -144,6 +142,8 @@ + free(path); + } /* if(fn == NULL) */ + ++ free(fn_tst); ++ + return fn; + } /* findpdv */ + |