Nux

Merge lp:~sbte/nux/fix-memory-leak into lp:nux/2.0

Proposed by Sven Baars
Status: Merged
Approved by: Jay Taoko
Approved revision: 559
Merged at revision: 569
Proposed branch: lp:~sbte/nux/fix-memory-leak
Merge into: lp:nux/2.0
Diff against target: 13 lines (+3/-0)
1 file modified
Nux/TextEntry.cpp (+3/-0)
To merge this branch: bzr merge lp:~sbte/nux/fix-memory-leak
Reviewer Review Type Date Requested Status
Jay Taoko (community) Approve
Review via email: mp+92125@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Jay Taoko (jaytaoko) wrote :

Thank you for your patch! Before we can accept it, we require you to agree to inalogic's contributor agreement (http://inalogic.com/inalogic-contributor-agreement/). If you accept it, send and email to <email address hidden> and state that you agree.

Revision history for this message
Jay Taoko (jaytaoko) wrote :

I am approving this branch as it is important to have this fix in before feature freeze.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Nux/TextEntry.cpp'
2--- Nux/TextEntry.cpp 2012-02-06 13:32:28 +0000
3+++ Nux/TextEntry.cpp 2012-02-08 20:11:02 +0000
4@@ -188,6 +188,9 @@
5 cairo_font_options_destroy(font_options_);
6 if (_texture2D)
7 _texture2D->UnReference();
8+
9+ if (canvas_)
10+ delete canvas_;
11 }
12
13 void TextEntry::PreLayoutManagement()

Subscribers

People subscribed via source and target branches

to all changes: