Fix off-by-one error when destroying allocated segments on failure.
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com> * gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix off-by-one error when destroying allocated segments on failure. (Elliot)
This commit is contained in:
parent
1f74dcee1b
commit
14ec95efb4
@ -1,3 +1,9 @@
|
||||
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix
|
||||
off-by-one error when destroying allocated segments
|
||||
on failure. (Elliot)
|
||||
|
||||
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix
|
||||
off-by-one error when destroying allocated segments
|
||||
on failure. (Elliot)
|
||||
|
||||
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix
|
||||
off-by-one error when destroying allocated segments
|
||||
on failure. (Elliot)
|
||||
|
||||
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix
|
||||
off-by-one error when destroying allocated segments
|
||||
on failure. (Elliot)
|
||||
|
||||
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix
|
||||
off-by-one error when destroying allocated segments
|
||||
on failure. (Elliot)
|
||||
|
||||
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix
|
||||
off-by-one error when destroying allocated segments
|
||||
on failure. (Elliot)
|
||||
|
||||
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Nov 18 11:58:17 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkrgb.c (gdk_rgb_allocate_images): Fix
|
||||
off-by-one error when destroying allocated segments
|
||||
on failure. (Elliot)
|
||||
|
||||
Sat Nov 18 11:45:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcalendar.c: Patch from ChiDeok Hwang to fix
|
||||
|
@ -629,7 +629,7 @@ gdk_rgb_allocate_images (GdkRgbInfo *image_info,
|
||||
{
|
||||
gint j;
|
||||
|
||||
for (j = 0; j <= i; j++)
|
||||
for (j = 0; j < i; j++)
|
||||
gdk_image_unref (image_info->static_image[i]);
|
||||
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user