diff src/image.c @ 98490:468c55dd37a2

* image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with correct arguments.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 03 Oct 2008 18:23:43 +0000
parents eb8c3a9e1565
children ba4876d944bc
line wrap: on
line diff
--- a/src/image.c	Fri Oct 03 14:12:31 2008 +0000
+++ b/src/image.c	Fri Oct 03 18:23:43 2008 +0000
@@ -1624,7 +1624,7 @@
       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;
     }