diff options
author | David Schleef <ds@schleef.org> | 2003-05-05 21:15:08 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-05-05 21:15:08 +0000 |
commit | dc32c94af95f49835f3a79b8fff6af5011453157 (patch) | |
tree | 9cc5068846db339cc05c2e21e9b28c46a4b7bd2a /ext | |
parent | cbd4b72d7c42dc612ddcbdcf43800884c1b68e9d (diff) |
Fix off-by-one allocation problem in gst_aasink_dither_get_type().
Original commit message from CVS:
Fix off-by-one allocation problem in gst_aasink_dither_get_type().
Fixes #112329.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/aalib/gstaasink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 83600e37..6416b8da 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -155,7 +155,7 @@ gst_aasink_dither_get_type (void) i++; } - ditherers = g_new0(GEnumValue, i); + ditherers = g_new0(GEnumValue, i + 1); i = 0; while (aa_dithernames[i]) { |