Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:branches:KDE:Frameworks5
kwave4
fix-memleak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-memleak.patch of Package kwave4
From: Thomas Eschenbacher <Thomas.Eschenbacher@gmx.de> Date: Tue, 13 Oct 2015 09:40:09 +0000 Subject: fixed memory leak in FileContext X-Git-Url: http://quickgit.kde.org/?p=kwave.git&a=commitdiff&h=397b39373a0222d207e1047272563325027e0098 --- fixed memory leak in FileContext --- --- a/kwave/FileContext.cpp +++ b/kwave/FileContext.cpp @@ -941,7 +941,10 @@ ); if (!dlg) return 0; dlg->setCaption(i18n("Save As")); - if (dlg->exec() != QDialog::Accepted) return -1; + if (dlg->exec() != QDialog::Accepted) { + delete dlg; + return -1; + } url = dlg->selectedUrl(); if (url.isEmpty()) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor