# HG changeset patch # User zas_ # Date 1208944581 0 # Node ID dead6fb690c530775b31570b300a7625109232c5 # Parent 4a9570cd06f8b06a5f19a2dd90293454c17874b2 Fix adding a selection to a collection with no window open using the sort manager. Only one file was added, now all files in the selection are added (but duplicates). A pointer was not reset correctly. diff -r 4a9570cd06f8 -r dead6fb690c5 src/collect-io.c --- a/src/collect-io.c Tue Apr 22 23:53:24 2008 +0000 +++ b/src/collect-io.c Wed Apr 23 09:56:21 2008 +0000 @@ -189,6 +189,7 @@ collection_add_check(cd, file_data_new_simple(buf), FALSE, TRUE); changed = TRUE; g_free(buf); + buf = NULL; } }