changeset 239:06a1f6829310

Fix wrong call to free a pointer
author Frank Benoit <benoit@tionex.de>
date Mon, 12 May 2008 15:36:37 +0200
parents 380bad9f6852
children ce446666f5a2
files dwt/graphics/Device.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/graphics/Device.d	Mon May 05 00:42:55 2008 +0200
+++ b/dwt/graphics/Device.d	Mon May 12 15:36:37 2008 +0200
@@ -440,7 +440,7 @@
                 fds[nFds++] = data;
                 OS.pango_font_description_free(fontDesc);
             }
-            OS.g_free(faces[0]);
+            OS.g_free(faces);
             if (faceName !is null) break;
         }
     }