Bug 361329

Summary: Flickr uploader does not clean /tmp after upload
Product: [Applications] digikam Reporter: Terje Runde <terje.runde>
Component: Plugin-WebService-FlickrAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:

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