Remove a stray free() (#3029, Carl Worth)

Note that the bug is fixed.
This commit is contained in:
Owen Taylor 2005-04-14 06:05:59 +00:00
parent 66688da5e4
commit 080f331edd
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2005-04-14 Owen Taylor <otaylor@redhat.com>
* src/cairo-font.c (_cairo_simple_font_face_destroy): Remove
a stray free() (#3029, Carl Worth)
* test/select-font-no-show-text.c: Note that the bug is fixed.
2005-04-13 Carl Worth <cworth@cworth.org>
* src/cairo-image-surface.c:

View file

@ -340,7 +340,6 @@ _cairo_simple_font_face_destroy (void *abstract_face)
_unlock_global_simple_cache ();
free (simple_face->family);
free (simple_face);
}
static cairo_status_t

View file

@ -32,6 +32,10 @@
*
* *** glibc detected *** double free or corruption (fasttop): 0x083274d0 ***
* Aborted
*
* 2005-04-14 Owen Taylor <otaylor@redhat.com>
*
* Fixed... just a stray free().
*/
#include <math.h>
@ -39,7 +43,7 @@
static cairo_test_t test = {
"select-font-no-show-text",
"Exercise a bug in calling cairo_select_font but never drawing text.",
"Test calling cairo_select_font but never drawing text.",
0, 0
};