Bug 361329 - Flickr uploader does not clean /tmp after upload
Summary: Flickr uploader does not clean /tmp after upload
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Flickr (show other bugs)
Version: 5.6.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-02 19:55 UTC by Terje Runde
Modified: 2018-01-30 21:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Terje Runde 2016-04-02 19:55:35 UTC
The Flickr uploader stores all images it uploads on tmpfs (/tmp), but it does not remove them after upload. After 700+ image uploads, my tmpfs got full and I got a generic error message in the uploader GUI.

I believe the image.save(path, "JPEG", imageQuality) in flickrtalker.cpp should have a corresponding delete when the file is no longer read.

Reproducible: Always
Comment 1 Maik Qualmann 2016-04-03 09:40:19 UTC
Git commit d4acfe21e45d7b7ae7e96165aad0d39f4f683b97 by Maik Qualmann.
Committed on 03/04/2016 at 09:39.
Pushed by mqualmann into branch 'master'.

fix temp file deleting and memory leaks in Flickr uploader
FIXED-IN: 5.0.0

M  +2    -2    NEWS
M  +20   -6    flickr/flickrtalker.cpp
M  +26   -22   flickr/flickrtalker.h
M  +1    -2    flickr/flickrwindow.cpp
M  +1    -2    flickr/flickrwindow.h
M  +21   -20   flickr/plugin_flickr.cpp

http://commits.kde.org/kipi-plugins/d4acfe21e45d7b7ae7e96165aad0d39f4f683b97