diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-09-01 13:25:41 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-09-01 13:25:41 +0000 |
commit | daf11c3d2cdf53bfb291b8d4ca0e45997921fa11 (patch) | |
tree | 36234a8a513aeeba6a9f4429e70e6912cd49b50f /dev-libs/newt/files | |
parent | Initial import (diff) | |
download | historical-daf11c3d2cdf53bfb291b8d4ca0e45997921fa11.tar.gz historical-daf11c3d2cdf53bfb291b8d4ca0e45997921fa11.tar.bz2 historical-daf11c3d2cdf53bfb291b8d4ca0e45997921fa11.zip |
fixed a memory leak in newtTextbox. Thanks to Robert Gill <locke@twilightsilhouette.org>.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-libs/newt/files')
-rw-r--r-- | dev-libs/newt/files/digest-newt-0.51.6-r1 | 1 | ||||
-rw-r--r-- | dev-libs/newt/files/newt-0.51.6-newttextbox-memoryleak.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/newt/files/digest-newt-0.51.6-r1 b/dev-libs/newt/files/digest-newt-0.51.6-r1 new file mode 100644 index 000000000000..898bb73bd7b9 --- /dev/null +++ b/dev-libs/newt/files/digest-newt-0.51.6-r1 @@ -0,0 +1 @@ +MD5 76ebfb749d3bbe9a0d55915faef4ac5e newt-0.51.6.tar.gz 155739 diff --git a/dev-libs/newt/files/newt-0.51.6-newttextbox-memoryleak.patch b/dev-libs/newt/files/newt-0.51.6-newttextbox-memoryleak.patch new file mode 100644 index 000000000000..1e4e074a14e6 --- /dev/null +++ b/dev-libs/newt/files/newt-0.51.6-newttextbox-memoryleak.patch @@ -0,0 +1,11 @@ +diff -urN newt-0.51.6.orig/textbox.c newt-0.51.6/textbox.c +--- newt-0.51.6.orig/textbox.c 2003-01-03 12:54:45.000000000 -0800 ++++ newt-0.51.6/textbox.c 2005-08-12 19:31:03.000000000 -0700 +@@ -418,6 +418,7 @@ + int i; + struct textbox * tb = co->data; + ++ if (tb->sb) tb->sb->ops->destroy(tb->sb); + for (i = 0; i < tb->numLines; i++) + free(tb->lines[i]); + free(tb->lines); |