summaryrefslogtreecommitdiff
path: root/sound-theme
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-01 22:49:48 +0100
committerMichal Ratajsky <[email protected]>2014-11-01 22:49:48 +0100
commit3f1bec067db1c1bc661bf07a7a3e1203e50488f5 (patch)
tree84b7a82e13fe787179a7233df17b3f38b8651224 /sound-theme
parent7b23aad70cb730faabbf867a57b1e8b1618a4cf1 (diff)
parent2735eb43a33b979c483fc82368894cb035d1ee20 (diff)
downloadmate-media-3f1bec067db1c1bc661bf07a7a3e1203e50488f5.tar.bz2
mate-media-3f1bec067db1c1bc661bf07a7a3e1203e50488f5.tar.xz
Merge pull request #51 from monsta/patch-1
don't leak memory
Diffstat (limited to 'sound-theme')
-rw-r--r--sound-theme/gvc-sound-theme-chooser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound-theme/gvc-sound-theme-chooser.c b/sound-theme/gvc-sound-theme-chooser.c
index 303c08b..4d7337c 100644
--- a/sound-theme/gvc-sound-theme-chooser.c
+++ b/sound-theme/gvc-sound-theme-chooser.c
@@ -512,6 +512,8 @@ populate_model_from_dir (GvcSoundThemeChooser *chooser,
populate_model_from_file (chooser, model, path);
g_free (path);
}
+
+ g_dir_close (d);
}
static gboolean