freebsd-ports/audio/grip/files/patch-src-grip.c
Patrick Li 2615f2d46f Grip crashes on current because malloc'ed memory is not zeroed.
PR:		37652
Submitted by:	maintainer
Reported by:	anholt
2002-05-02 01:37:47 +00:00

11 lines
273 B
C

--- src/grip.c.orig Wed May 1 18:30:22 2002
+++ src/grip.c Wed May 1 18:30:33 2002
@@ -144,7 +144,7 @@
app=gnome_app_new(PACKAGE,_("Grip"));
- ginfo=g_new(GripInfo,1);
+ ginfo=g_new0(GripInfo,1);
gtk_object_set_user_data(GTK_OBJECT(app),(gpointer)ginfo);