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:
parent
cbd4b72d7c
commit
dc32c94af9
@ -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]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user