]> git.eshelyaron.com Git - emacs.git/commitdiff
* image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with correct arguments.
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 3 Oct 2008 18:23:43 +0000 (18:23 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Fri, 3 Oct 2008 18:23:43 +0000 (18:23 +0000)
src/ChangeLog
src/image.c

index 05447ddb88420ca739725ba40c901637bd902402..fb3515511f9fb0f30afaeb715a69bf454cc4eb36 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-02  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with
+       correct arguments.
+
 2008-10-03  Glenn Morris  <rgm@gnu.org>
 
        * emacs.c (USAGE1): Add --daemon.
index 7ce5b9b2e08bb56746616b4695ff5c14cb59ab45..b24feca37792611f24c0a19117b243906aa471bc 100644 (file)
@@ -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;
     }