projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0890884
)
Fix #196: Geeqie crashes when renaming some images inside a collection
author
Colin Clark
<
[email protected]
>
Wed, 25 Oct 2017 18:11:40 +0000
(19:11 +0100)
committer
Colin Clark
<
[email protected]
>
Wed, 25 Oct 2017 18:11:40 +0000
(19:11 +0100)
https://github.com/BestImageViewer/geeqie/issues/196
src/collect-io.c
patch
|
blob
|
history
diff --git
a/src/collect-io.c
b/src/collect-io.c
index a58ac7fab50ef608a2df698417611047b5dbe740..3c0d02c8792cff94f5cb878c113282b0a79ac050 100644
(file)
--- a/
src/collect-io.c
+++ b/
src/collect-io.c
@@
-674,9
+674,7
@@
static gboolean collect_manager_process_action(CollectManagerEntry *entry, gchar
if (action)
{
- g_free(path);
- path = g_strdup(action->newpath);
- *path_ptr = path;
+ strcpy(*path_ptr, action->newpath);
return TRUE;
}