aft.c ls -lm: Fix unmapping of lyrics file.
authorAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2007 21:19:36 +0000 (22:19 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2007 21:19:36 +0000 (22:19 +0100)
aft.c

diff --git a/aft.c b/aft.c
index ce1f428..192c9bd 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -963,7 +963,7 @@ static int print_list_item(struct ls_data *d, struct ls_options *opts,
                        lyrics_def.data? (char *)lyrics_def.data : ""
                );
                if (lyrics_def.data)
-                       osl_close_disk_object(lyrics_def.data);
+                       osl_close_disk_object(&lyrics_def);
        }
        free(att_lines);
        free(lyrics_lines);