diff options
| author | chr <chr> | 2017-05-23 19:48:27 +0000 |
|---|---|---|
| committer | chr <chr> | 2017-05-23 19:48:27 +0000 |
| commit | 71f7e26f4a6714fe1d3b6a72f61c481c3e1f52a0 (patch) | |
| tree | 066d28509e627c9d4193cc99ba4bbe020a05894e /src/svg | |
| parent | bugfix: change active layer (diff) | |
| download | inkscape-71f7e26f4a6714fe1d3b6a72f61c481c3e1f52a0.tar.gz inkscape-71f7e26f4a6714fe1d3b6a72f61c481c3e1f52a0.zip | |
fix a brunch of memory leaks pt.2
I'd like to see the crappy API fixed,
to avoid this stupid mistakes.
(bzr r15698.1.12)
Diffstat (limited to 'src/svg')
| -rw-r--r-- | src/svg/svg-affine-test.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/svg/svg-affine-test.h b/src/svg/svg-affine-test.h index af670a3a8..829ef8a5a 100644 --- a/src/svg/svg-affine-test.h +++ b/src/svg/svg-affine-test.h @@ -67,7 +67,9 @@ public: void testWriteIdentity() { - TS_ASSERT_EQUALS(sp_svg_transform_write(Geom::identity()) , (void*)0) + gchar str = sp_svg_transform_write(Geom::identity()); + TS_ASSERT_EQUALS(str, NULL); + g_free(str); } void testReadMatrix() |
