[gthumb] use g_list_free to free the list
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] use g_list_free to free the list
- Date: Sun, 19 Sep 2010 15:32:53 +0000 (UTC)
commit f71c99b5f62ad6b40d302a3867989c6a2cae09a3
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Sep 19 12:15:08 2010 +0200
use g_list_free to free the list
gthumb/gth-file-list.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-file-list.c b/gthumb/gth-file-list.c
index 8b577fe..86a454d 100644
--- a/gthumb/gth-file-list.c
+++ b/gthumb/gth-file-list.c
@@ -876,7 +876,7 @@ _gth_file_list_cancel_jobs (GthFileList *file_list,
ThumbnailJob *job = scan->data;
thumbnail_job_cancel (job);
}
- g_free (list);
+ g_list_free (list);
cancel_data->check_id = g_timeout_add (CHECK_JOBS_INTERVAL,
wait_for_jobs_to_finish,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]