Skip to content
  • Allison Karlitskaya's avatar
    gsettings: fix schema compiler error handling · 7f4fdb59
    Allison Karlitskaya authored
    Fix a couple of issues in error handling in glib-compile-schemas.
    
    The first problem is that, in case of repeated <summary> or
    <description> tags we were still allocating a GString which was never
    being freed (due to the throwing of the error resulting in immediate
    termination of the parse).
    
    The second problem is that if the repeated <summary> tag also had
    attributes, we would attempt to set the GError twice.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747542
    7f4fdb59