Fix some of cppcheck warnings

Authored by bshah on Jun 15 2018, 11:23 AM.

Description

Fix some of cppcheck warnings

Summary:

  • selfInitialization
  • memleak

I could probably suppress the selfInitialization warning, but probably
is cleaner this way. Opinions welcome. This also fixes the memleak in
autotest.

Test Plan:

  • arc lint --everything
  • Fix issues
  • build
  • run tests

Reviewers: Frameworks, aacid

Reviewed By: aacid

Subscribers: apol, aacid, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D13559

Details

Committed
bshahJul 4 2018, 10:24 AM
Reviewer
aacid
Differential Revision
D13559: Fix some of cppcheck warnings
Parents
R127:5e195c2a67ce: [server] Send frame event instead of flush on relative pointer motion
Branches
Unknown
Tags
Unknown