Revision: 3785
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3785&view=rev
Author: mdboom
Date: 2007-09-05 07:46:14 -0700 (Wed, 05 Sep 2007)
Log Message:
-----------
Fix segfault in FT2Font::clear()
Modified Paths:
--------------
trunk/matplotlib/src/ft2font.cpp
Modified: trunk/matplotlib/src/ft2font.cpp
===================================================================
--- trunk/matplotlib/src/ft2font.cpp 2007-09-05 14:03:09 UTC (rev 3784)
+++ trunk/matplotlib/src/ft2font.cpp 2007-09-05 14:46:14 UTC (rev 3785)
@@ -75,6 +75,7 @@
if (width != _width || height != _height) {
if (numBytes > _width*_height) {
delete [] _buffer;
+ _buffer = NULL;
_buffer = new unsigned char [numBytes];
}
@@ -781,6 +782,7 @@
args.verify_length(0);
delete image;
+ image = NULL;
angle = 0.0;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins