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.
This commit is contained in:
David Schleef 2003-05-05 21:15:08 +00:00
parent cbd4b72d7c
commit dc32c94af9

View file

@ -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]) {