libmm-common: plug small leak in the common simple properties

This commit is contained in:
Aleksander Morgado
2012-01-03 19:54:58 +01:00
parent a68847a091
commit f3bc54eb40

View File

@@ -342,6 +342,7 @@ finalize (GObject *object)
{ {
MMCommonSimpleProperties *self = MM_COMMON_SIMPLE_PROPERTIES (object); MMCommonSimpleProperties *self = MM_COMMON_SIMPLE_PROPERTIES (object);
g_variant_unref (self->priv->signal_quality);
g_variant_unref (self->priv->bands); g_variant_unref (self->priv->bands);
if (self->priv->bands_array) if (self->priv->bands_array)
g_array_unref (self->priv->bands_array); g_array_unref (self->priv->bands_array);