D12182: Fix leak when adding job with invalid RA/DEC
Eric Dejouhanet
noreply at phabricator.kde.org
Fri Apr 13 21:47:55 UTC 2018
TallFurryMan created this revision.
TallFurryMan added a reviewer: mutlaqja.
Restricted Application added a subscriber: KDE Edu.
Restricted Application added a project: KDE Edu.
TallFurryMan requested review of this revision.
REVISION SUMMARY
When a Scheduler Job is saved and it is new, a new instance of SchedulerJob is created.
If somehow assigned RA/DEC, saving the job is aborted, but the new instance is not deleted.
TEST PLAN
Adding a new Scheduler job, or editing an existing Scheduler job, still functions properly. Leak is probably negligible in the standard user activity.
REPOSITORY
R321 KStars
REVISION DETAIL
https://phabricator.kde.org/D12182
AFFECTED FILES
kstars/ekos/scheduler/scheduler.cpp
To: TallFurryMan, mutlaqja
Cc: #kde_edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180413/d2c6eda7/attachment.html>
More information about the kde-edu
mailing list