summaryrefslogtreecommitdiff
path: root/pango/pango-ot-info.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-11-03 17:11:53 -0500
committerBehdad Esfahbod <behdad@behdad.org>2009-11-03 20:28:51 -0500
commit8e9d153733cac83bfc8ce0c068d2af455d0e9a76 (patch)
tree7427a57cec9102cfb5bddd15c8e7f57c788f771d /pango/pango-ot-info.c
parentbfbe9aea599bc98ffd4640268a66c90d6fa21736 (diff)
downloadpango-8e9d153733cac83bfc8ce0c068d2af455d0e9a76.tar.gz
Fix leak with non-mmapped fonts
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r--pango/pango-ot-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index f4f4cee0..d6fa0da2 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -112,7 +112,7 @@ _get_table (hb_tag_t tag, void *user_data)
return hb_blob_create ((const char *) buffer, length,
HB_MEMORY_MODE_WRITABLE,
- g_free, NULL);
+ g_free, buffer);
}