diff options
author | Elliot Lee <sopwith@src.gnome.org> | 2000-08-08 03:37:22 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 2000-08-08 03:37:22 +0000 |
commit | 0d0b47ba872c90fbad6312c77c12b7380f27ab6c (patch) | |
tree | 2f4cb763e26ec800e8590c94a780d87f9bf992e9 /pango/modules.c | |
parent | 6651251110e502c5d328d6ad84876377adba481d (diff) | |
download | pango-0d0b47ba872c90fbad6312c77c12b7380f27ab6c.tar.gz |
If the first pango_skip_space fails, remember to free enginepair before
* pango/modules.c: If the first pango_skip_space fails, remember to free enginepair before continuing.
* pango/pango-layout.c (pango_layout_set_attributes): unref old attr list after reffing
new one, in case setting to same thing.
* pango/pango-attributes.c (pango_attr_list_insert_internal): Proper fix from Owen for the
infinite loop.
Diffstat (limited to 'pango/modules.c')
-rw-r--r-- | pango/modules.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/modules.c b/pango/modules.c index d7d3b838..5d3f9cb9 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -217,7 +217,10 @@ process_module_file (FILE *module_file) p = line_buf->str; if (!pango_skip_space (&p)) - continue; + { + g_free (pair); + continue; + } /* Break line into words on whitespace */ i = 0; |