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 ce1f42846e1d81d2fc88d46ec8f177bebd69174c..192c9bdf546bc4bb5dad448ce6d2293ffa2a0fa3 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);