- Fix double free() bug.
- Bump PORTREVISION. PR: ports/88748 Submitted by: Vasil Dimov
This commit is contained in:
parent
a7afb7e0a7
commit
39a598e3e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147879
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= libextractor
|
||||
PORTVERSION= 0.5.6a
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://gnunet.org/libextractor/download/ \
|
||||
${MASTER_SITE_GNU}
|
||||
|
14
textproc/libextractor/files/patch-src::main::extractor.c
Normal file
14
textproc/libextractor/files/patch-src::main::extractor.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/main/extractor.c.orig Fri Nov 11 04:54:19 2005
|
||||
+++ src/main/extractor.c Fri Nov 11 04:55:27 2005
|
||||
@@ -246,8 +246,10 @@
|
||||
|
||||
void __attribute__ ((destructor)) le_ltdl_fini(void) {
|
||||
lt_dlsetsearchpath(old_dlsearchpath);
|
||||
- if (old_dlsearchpath != NULL)
|
||||
+ if (old_dlsearchpath != NULL) {
|
||||
free(old_dlsearchpath);
|
||||
+ old_dlsearchpath = NULL;
|
||||
+ }
|
||||
#ifdef MINGW
|
||||
ShutdownWinEnv();
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user