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
<colin.clark@cclark.uk>
Wed, 25 Oct 2017 18:11:40 +0000
(19:11 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
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
a58ac7f
..
3c0d02c
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;
}