Commit b44973e6 authored by Christian Hergert's avatar Christian Hergert

asan: plug a few more leaks detected by asan

parent 61e63bbf
......@@ -139,7 +139,7 @@ dzl_dock_widget_get_property (GObject *object,
break;
case PROP_ICON_NAME:
g_value_set_string (value, dzl_dock_widget_item_get_icon_name (DZL_DOCK_ITEM (self)));
g_value_take_string (value, dzl_dock_widget_item_get_icon_name (DZL_DOCK_ITEM (self)));
break;
case PROP_MANAGER:
......@@ -147,7 +147,7 @@ dzl_dock_widget_get_property (GObject *object,
break;
case PROP_TITLE:
g_value_set_string (value, dzl_dock_widget_item_get_title (DZL_DOCK_ITEM (self)));
g_value_take_string (value, dzl_dock_widget_item_get_title (DZL_DOCK_ITEM (self)));
break;
default:
......
......@@ -408,7 +408,7 @@ dzl_gtk_widget_mux_action_groups (GtkWidget *widget,
const gchar *mux_key)
{
const gchar * const *old_prefixes = NULL;
const gchar **prefixes = NULL;
g_autofree const gchar **prefixes = NULL;
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (!from_widget || GTK_IS_WIDGET (from_widget));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment