diff options
Diffstat (limited to 'src/ui/theme-parser.c')
-rw-r--r-- | src/ui/theme-parser.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c index b7d22381..c94e0e9a 100644 --- a/src/ui/theme-parser.c +++ b/src/ui/theme-parser.c @@ -392,7 +392,11 @@ locate_attributes (GMarkupParseContext *context, while (name != NULL) { - g_return_val_if_fail (retloc != NULL, FALSE); + if (retloc == NULL) + { + retval = FALSE; + goto out; + } g_assert (n_attrs < MAX_ATTRS); |