ports/devel/dwarves/files/patch-strings.c
Conrad Meyer 81dd28f0c5 Update devel/dwarves to git head, b52386d0
The last release, 1.10, is four years old.  The git tree since fixes numerous
bugs present in 1.10.

Reviewed by:	portlint
Sponsored by:	EMC / Isilon Storage Division
2016-07-14 06:34:55 +00:00

13 lines
315 B
C

--- strings.c.orig 2016-06-30 19:30:28 UTC
+++ strings.c
@@ -39,7 +39,10 @@ void strings__delete(struct strings *str
{
if (strs == NULL)
return;
+#if 0
+ /* Our search.h doesn't implement tdestroy; leak for now. */
tdestroy(strs->tree, do_nothing);
+#endif
__gobuffer__delete(&strs->gb);
free(strs);
}