By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1438

Summary: KArm: memory leak in idle detector
Product: TDE Reporter: Slávek Banko <slavek.banko>
Component: tdepimAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, kb9vqf, slavek.banko
Priority: P5    
Version: 3.5.13.2 [Trinity]   
Hardware: All   
OS: All   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Fix memory leak in karm idle detector

Description Slávek Banko 2013-04-07 18:27:47 CDT
Created attachment 1142 [details]
Fix memory leak in karm idle detector

I tried to find out why the idle detection in KArm ignores keyboard input and monitor only the movement of the mouse (for now no conclusive result).

During this time, I noticed that in the code is probably memory leak. For each idle timer test is called:

_mit_info XScreenSaverAllocInfo = ();

Nowhere is the test if memory for information has already allocated and nowhere is release of this memory. Please can someone confirm my findings? Proposed patch attached.
Comment 1 Timothy Pearson 2013-04-07 22:50:38 CDT
Looks like a simple oversight of the original developers to me; the patch looks good and you should push it.

Tim
Comment 2 Slávek Banko 2013-04-08 11:22:08 CDT
Fixed in GIT hash c4b86c6c and also in v3.5.13-sru branch.