Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Binyamin Darshan Hcohen
libdazzle
Commits
5cfab084
Commit
5cfab084
authored
Jul 28, 2018
by
Christian Hergert
Browse files
actions: fix leak of type strings
parent
29a4dbbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/actions/dzl-widget-action-group.c
View file @
5cfab084
...
...
@@ -148,7 +148,8 @@ create_variant_type (const GType *types,
break
;
}
return
FALSE
;
g_string_free
(
str
,
TRUE
);
return
NULL
;
}
}
...
...
@@ -171,6 +172,8 @@ create_variant_type (const GType *types,
g_hash_table_insert
(
cached_types
,
type_str
,
type_str
);
ret
=
(
const
GVariantType
*
)
type_str
;
}
else
g_string_free
(
str
,
TRUE
);
return
ret
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment