summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-08-18 16:18:21 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-08-18 16:18:21 +0200
commitabac0fad0e30c670f70e325588e5503259f4b29e (patch)
tree787e3fdb8a0e7e8dfbc90bf97cb245b14cb34e08
parentb3e73d2747b986bfc40aa10832e2345866faa811 (diff)
Fixed memory leak in music_scan().
-rw-r--r--music.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/music.c b/music.c
index d3c9b64..84dd1c7 100644
--- a/music.c
+++ b/music.c
@@ -54,6 +54,7 @@ gboolean music_scan(struct directory *directory) {
g_debug("recursing into %s", entry);
music_scan(d);
}
+ g_free(fullpath);
}
g_dir_close(dir);