diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-05-02 01:37:47 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-05-02 01:37:47 +0000 |
commit | 2615f2d46f37e3e4049a29e626fa3d3c72e19ec0 (patch) | |
tree | 62a8059eebfb65c5c070f93e194dda5f7a60e1e9 /audio/grip | |
parent | sync with 0.57. (diff) |
Grip crashes on current because malloc'ed memory is not zeroed.
PR: 37652
Submitted by: maintainer
Reported by: anholt
Diffstat (limited to 'audio/grip')
-rw-r--r-- | audio/grip/files/patch-src-grip.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/grip/files/patch-src-grip.c b/audio/grip/files/patch-src-grip.c new file mode 100644 index 000000000000..120180592f32 --- /dev/null +++ b/audio/grip/files/patch-src-grip.c @@ -0,0 +1,11 @@ +--- 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); + |