diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-07-21 13:59:36 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-07-21 13:59:36 +0000 |
commit | a084f42c0e920e2ac91383b8d98ff54f339d17ac (patch) | |
tree | cd2ae4cd9d49439019d4dddda005c02523d26c89 /pango/modules.c | |
parent | 1f53784fdae609da25c593d9b99ba830c6513298 (diff) | |
download | pango-a084f42c0e920e2ac91383b8d98ff54f339d17ac.tar.gz |
Free buffer strings.
Fri Jul 21 09:59:10 2000 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (process_module_file): Free buffer strings.
* pango/pangox-fontmap.c (pango_x_real_get_coverage_win): Add
caching of coverage maps on a persistant subwindow of the
root window. This window contains a property for
each "lang|xlfd,xlfd" which is the result of pango_coverage_to_bytes.
* pango/pango-context.c (pango_context_finalize): Free
the font description.
* pango/pango-coverage.c (pango_coverage_to/from_bytes): Added
functions to covert a PangoCoverage structure too and
from a flat block of bytes.
* configure.in (X_LIBS): Add a check to detect fribidi being
compiled against glib-1.2.x.
Diffstat (limited to 'pango/modules.c')
-rw-r--r-- | pango/modules.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pango/modules.c b/pango/modules.c index cad34866..c31e4d3c 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -301,11 +301,14 @@ process_module_file (FILE *module_file) if (have_error) { g_free(pair); - return FALSE; + break; } } - return TRUE; + g_string_free (line_buf, TRUE); + g_string_free (tmp_buf, TRUE); + + return !have_error; } static void |