From: Adrian Robert Date: Fri, 3 Oct 2008 18:23:43 +0000 (+0000) Subject: * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with correct arguments. X-Git-Tag: emacs-pretest-23.0.90~2664 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=46b0ebed94ff5cf1ca4ff0e03b6a8e76452af1fb;p=emacs.git * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with correct arguments. --- diff --git a/src/ChangeLog b/src/ChangeLog index 05447ddb884..fb3515511f9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-10-02 Adrian Robert + + * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with + correct arguments. + 2008-10-03 Glenn Morris * emacs.c (USAGE1): Add --daemon. diff --git a/src/image.c b/src/image.c index 7ce5b9b2e08..b24feca3779 100644 --- a/src/image.c +++ b/src/image.c @@ -1624,7 +1624,7 @@ x_clear_image_1 (f, img, pixmap_p, mask_p, colors_p) img->pixmap = NO_PIXMAP; #ifdef HAVE_NS if (img->background_valid) - ns_free_indexed_color(img->background); + ns_free_indexed_color(img->background, f); #endif img->background_valid = 0; }