• Christian Persch's avatar
    Plug a mem leak · a8f1e457
    Christian Persch authored
    ... and don't call g_strv_length() just to find out if length is == 2 !
    
    ==5735== 4 bytes in 1 blocks are definitely lost in loss record 18 of 356
    ==5735==    at 0x402AD89: malloc (vg_replace_malloc.c:236)
    ==5735==    by 0x4566BDA: standard_malloc (gmem.c:85)
    ==5735==    by 0x4566F80: g_malloc (gmem.c:159)
    ==5735==    by 0x4567282: g_malloc_n (gmem.c:361)
    ==5735==    by 0x457DFCC: g_strsplit (gstrfuncs.c:2249)
    ==5735==    by 0x4053934: rsvg_parse_style (rsvg-styles.c:919)
    a8f1e457
Name
Last commit
Last update
doc Loading commit data...
gdk-pixbuf-loader Loading commit data...
gtk-engine Loading commit data...
tests Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog.old Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.in Loading commit data...
librsvg-features.c Loading commit data...
librsvg-features.h.in Loading commit data...
librsvg-uninstalled.pc.in Loading commit data...
librsvg-zip.in Loading commit data...
librsvg.def Loading commit data...
librsvg.doap Loading commit data...
librsvg.pc.in Loading commit data...
rsvg-base-file-util.c Loading commit data...
rsvg-base.c Loading commit data...
rsvg-cairo-clip.c Loading commit data...
rsvg-cairo-clip.h Loading commit data...
rsvg-cairo-draw.c Loading commit data...
rsvg-cairo-draw.h Loading commit data...
rsvg-cairo-render.c Loading commit data...
rsvg-cairo-render.h Loading commit data...
rsvg-cairo.h Loading commit data...
rsvg-cond.c Loading commit data...
rsvg-convert.c Loading commit data...
rsvg-css.c Loading commit data...
rsvg-css.h Loading commit data...
rsvg-defs.c Loading commit data...
rsvg-defs.h Loading commit data...
rsvg-file-util.c Loading commit data...
rsvg-filter.c Loading commit data...
rsvg-filter.h Loading commit data...
rsvg-gobject.c Loading commit data...
rsvg-image.c Loading commit data...
rsvg-image.h Loading commit data...
rsvg-marker.c Loading commit data...
rsvg-marker.h Loading commit data...
rsvg-mask.c Loading commit data...
rsvg-mask.h Loading commit data...
rsvg-paint-server.c Loading commit data...
rsvg-paint-server.h Loading commit data...
rsvg-path.c Loading commit data...
rsvg-path.h Loading commit data...
rsvg-private.h Loading commit data...
rsvg-shapes.c Loading commit data...
rsvg-shapes.h Loading commit data...
rsvg-structure.c Loading commit data...
rsvg-structure.h Loading commit data...
rsvg-styles.c Loading commit data...
rsvg-styles.h Loading commit data...
rsvg-text.c Loading commit data...
rsvg-text.h Loading commit data...
rsvg-xml.c Loading commit data...
rsvg-xml.h Loading commit data...
rsvg.1 Loading commit data...
rsvg.c Loading commit data...
rsvg.h Loading commit data...
rsvg.in Loading commit data...
test-display.c Loading commit data...