Package: apt-dater
Version: 0.6.4.1-2
Tags: patch
Hello Maintainer,
the patch below fixes a possible return from a fucntion without
reclaiming the previously allocated dynamic memory.
diff -Naur apt-dater-0.6.4.1.orig/src/ui.c apt-dater-0.6.4.1/src/ui.c
--- apt-dater-0.6.4.1.orig/src/ui.c 2009-01-13 17:50:20.000000000 +0200
+++ apt-dater-0.6.4.1/src/ui.c 2009-01-13 17:50:37.000000000 +0200
@@ -199,7 +199,10 @@
if(!modstr) return(0);
wp = newpad(1, n);
- if(!wp) return(0);
+ if(!wp) {
+ g_free(modstr);
+ return(0);
+ }
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]