Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=b2ea2d775c664a6233200be9a105d1951cd80ad0

commit b2ea2d775c664a6233200be9a105d1951cd80ad0
Author: James Buren <[email protected]>
Date:   Sat Sep 8 07:46:12 2012 -0500

use malloc0 in install

diff --git a/src/install.c b/src/install.c
index 9b32fb9..9b1cfa1 100644
--- a/src/install.c
+++ b/src/install.c
@@ -497,7 +497,7 @@ static bool install_groups_get(struct install **groups)
return false;
}

-  grps = malloc(sizeof(struct install) * (matches + 1));
+  grps = malloc0(sizeof(struct install) * (matches + 1));

for( ; list ; list = pacman_list_next(list) )
{
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to