summaryrefslogtreecommitdiff
path: root/sound-theme/gvc-sound-theme-chooser.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-01 22:27:38 +0300
committermonsta <[email protected]>2014-11-01 22:27:38 +0300
commit2735eb43a33b979c483fc82368894cb035d1ee20 (patch)
tree84b7a82e13fe787179a7233df17b3f38b8651224 /sound-theme/gvc-sound-theme-chooser.c
parent7b23aad70cb730faabbf867a57b1e8b1618a4cf1 (diff)
downloadmate-media-2735eb43a33b979c483fc82368894cb035d1ee20.tar.bz2
mate-media-2735eb43a33b979c483fc82368894cb035d1ee20.tar.xz
don't leak memory
Diffstat (limited to 'sound-theme/gvc-sound-theme-chooser.c')
-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