mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
dtfile: fix a segmentation fault that occurred when drag and drop file with the
same name.
This commit is contained in:
parent
49b5505667
commit
80f7fe7739
1 changed files with 7 additions and 2 deletions
|
@ -1153,9 +1153,14 @@ create_replace_rename_dialog(Widget parent_widget,
|
|||
|
||||
|
||||
XtFree(title);
|
||||
XtFree(actions.actionList[1].label);
|
||||
actions.actionList[1].label = orig_label;
|
||||
|
||||
if (actions.actionList[1].label != orig_label) {
|
||||
XtFree(actions.actionList[1].label);
|
||||
actions.actionList[1].label = orig_label;
|
||||
}
|
||||
|
||||
actions.actionList[1].msg_num = orig_msg_num;
|
||||
|
||||
return;
|
||||
|
||||
} /* end create_replace_rename_dialog */
|
||||
|
|
Loading…
Reference in a new issue