diff options
Diffstat (limited to 'src/x11_in_gtk2.c')
-rw-r--r-- | src/x11_in_gtk2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c index 000f600..51856e9 100644 --- a/src/x11_in_gtk2.c +++ b/src/x11_in_gtk2.c @@ -299,7 +299,7 @@ suil_wrapper_new(SuilHost* host, LV2_Feature*** features, unsigned n_features) { - SuilWrapper* wrapper = (SuilWrapper*)malloc(sizeof(SuilWrapper)); + SuilWrapper* wrapper = (SuilWrapper*)calloc(1, sizeof(SuilWrapper)); wrapper->wrap = wrapper_wrap; wrapper->free = wrapper_free; |