[totem] properties: fix string leaks
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] properties: fix string leaks
- Date: Sat, 25 Aug 2012 10:13:05 +0000 (UTC)
commit 4c8c1dcdb263def8ae195cb9379fcb61350c0446
Author: Pavel Vasin <rat4vier gmail com>
Date: Sat Aug 25 11:20:15 2012 +0400
properties: fix string leaks
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=682649
src/totem-properties-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-properties-view.c b/src/totem-properties-view.c
index 7dc1070..b5f7eda 100644
--- a/src/totem-properties-view.c
+++ b/src/totem-properties-view.c
@@ -213,6 +213,7 @@ update_audio (TotemPropertiesView *props,
bacon_video_widget_properties_set_label (props->priv->props,
"samplerate",
string);
+ g_free (string);
} else {
bacon_video_widget_properties_set_label (props->priv->props,
"samplerate",
@@ -233,6 +234,7 @@ update_audio (TotemPropertiesView *props,
bacon_video_widget_properties_set_label (props->priv->props,
"channels",
string);
+ g_free (string);
} else {
bacon_video_widget_properties_set_label (props->priv->props,
"channels",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]