-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] schrieb:
> 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);
> + }

Thanks for your patch.
It is applied upstream now and I will upload -3 today with it.

- --
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi

E-Mail: [email protected]

Comment:
Always if we think we are right,
we were maybe wrong.
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklszC8ACgkQ2XA5inpabMf9jACZAWkqDJC0ollm+FK9kzcxNV0H
xxAAnRhYYtKkCivf5k+yuUCtUh6IDMC1
=+6Rc
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to