summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-desktop-icon-view.c
diff options
context:
space:
mode:
authorMichael Webster <[email protected]>2021-05-16 19:35:34 -0400
committerLuke from DC <[email protected]>2021-05-19 19:15:53 +0000
commit6a3dbb0cdcc2c8c3ebfc06f6b4a562bf54a9a7b7 (patch)
tree0a852440e6ca2eea4de25985a6671feff2b0b6b7 /src/file-manager/fm-desktop-icon-view.c
parent46e02ca4209c30a73d0999d6e6395cb17a5de971 (diff)
downloadcaja-6a3dbb0cdcc2c8c3ebfc06f6b4a562bf54a9a7b7.tar.bz2
caja-6a3dbb0cdcc2c8c3ebfc06f6b4a562bf54a9a7b7.tar.xz
caja-directory.c: Fix memory leak.
When creating a new file (using a template, for instance), file-> details->is_added could potentially be FALSE, and cause this file to not be finalized along with other files if the view directory is destroyed. This can cause issues when re-entering that directory, with the file being in an undefined state, and could prevent the view from fully loading the location (this is identical behavior to that described in https://github.com/mate-desktop/python-caja/pull/64. To reproduce: - Create an svg file and save in ~/Templates. - Right-click, Create document-> svg file, name it whatever. - Navigate out of the folder. - Modify the file in a visible manner. - Re-enter the folder, note that it never finishes loading. Ref: https://github.com/linuxmint/nemo/issues/2736
Diffstat (limited to 'src/file-manager/fm-desktop-icon-view.c')
0 files changed, 0 insertions, 0 deletions