Review Request 121576: Fix memleaks in image fetching

Mehrdad Momeny mehrdad.momeny at gmail.com
Wed Dec 17 13:35:55 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121576/#review72183
-----------------------------------------------------------

Ship it!


Great!
Thanks for this patch.

- Mehrdad Momeny


On Dec. 17, 2014, 12:05 p.m., Eugene Shalygin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121576/
> -----------------------------------------------------------
> 
> (Updated Dec. 17, 2014, 12:05 p.m.)
> 
> 
> Review request for Choqok.
> 
> 
> Bugs: 341927
>     http://bugs.kde.org/show_bug.cgi?id=341927
> 
> 
> Repository: choqok
> 
> 
> Description
> -------
> 
> As it is described in the referenced bug, Choqok is leaking memory. Valgrind pointed to the QPixmap managment in MediaManager::fetchImage() and its callers.
> 
> 
> Diffs
> -----
> 
>   helperlibs/twitterapihelper/twitterapiwhoiswidget.cpp 806eb37 
>   libchoqok/mediamanager.h 7851f31 
>   libchoqok/mediamanager.cpp c9e6126 
>   libchoqok/ui/postwidget.cpp 7d441e4 
>   plugins/betternotify/notification.cpp 5392198 
> 
> Diff: https://git.reviewboard.kde.org/r/121576/diff/
> 
> 
> Testing
> -------
> 
> With this patch applied my Choqok's memmory usage is at 152 MB for a half of the day, instead of GBs
> 
> 
> Thanks,
> 
> Eugene Shalygin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/choqok-devel/attachments/20141217/6580cc5b/attachment.html>


More information about the Choqok-devel mailing list