diff options
author | monsta <[email protected]> | 2014-11-01 22:27:38 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2014-11-01 22:27:38 +0300 |
commit | 2735eb43a33b979c483fc82368894cb035d1ee20 (patch) | |
tree | 84b7a82e13fe787179a7233df17b3f38b8651224 /sound-theme/gvc-sound-theme-chooser.c | |
parent | 7b23aad70cb730faabbf867a57b1e8b1618a4cf1 (diff) | |
download | mate-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.c | 2 |
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 |