projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa3a6c
)
Fix segfault when building more than one rpm (RhBug:675565)
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 7 Feb 2011 07:15:29 +0000
(09:15 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 7 Feb 2011 07:18:47 +0000
(09:18 +0200)
- Remember to set the static string cache pointer to NULL on free, duh
lib/rpmug.c
patch
|
blob
|
history
diff --git
a/lib/rpmug.c
b/lib/rpmug.c
index
2bb18e5
..
b365e4a
100644
(file)
--- a/
lib/rpmug.c
+++ b/
lib/rpmug.c
@@
-198,5
+198,5
@@
void rpmugFree(void)
rpmugGid(NULL, NULL);
rpmugUname(-1);
rpmugGname(-1);
- strCacheFree(strStash);
+ str
Stash = str
CacheFree(strStash);
}