Grip crashes on current because malloc'ed memory is not zeroed.
PR: 37652 Submitted by: maintainer Reported by: anholt
This commit is contained in:
parent
aa577e506e
commit
2615f2d46f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58438
11
audio/grip/files/patch-src-grip.c
Normal file
11
audio/grip/files/patch-src-grip.c
Normal file
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user