summaryrefslogtreecommitdiff
path: root/librsvg/rsvg-defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'librsvg/rsvg-defs.c')
-rw-r--r--librsvg/rsvg-defs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/librsvg/rsvg-defs.c b/librsvg/rsvg-defs.c
index 103b7ed5e..c0b827724 100644
--- a/librsvg/rsvg-defs.c
+++ b/librsvg/rsvg-defs.c
@@ -47,6 +47,7 @@ rsvg_defs_lookup (const RsvgDefs *defs, const char *name)
void
rsvg_defs_set (RsvgDefs *defs, const char *name, RsvgDefVal *val)
{
+ /* FIXME: Leaks a name and a val if there's already an entry in the table. */
g_hash_table_insert (defs->hash, g_strdup (name), val);
}