projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70fe01
)
Fixed memory leak in cairo driver.
author
John Darrington
<john@darrington.wattle.id.au>
Mon, 9 Jul 2012 20:44:13 +0000
(22:44 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Mon, 9 Jul 2012 20:44:13 +0000
(22:44 +0200)
src/output/cairo.c
patch
|
blob
|
history
diff --git
a/src/output/cairo.c
b/src/output/cairo.c
index 6229311aa75003988fdc2ae39bcec48a253c370a..a98df2e6c18bc1d59a4cb4033879fec09b905242 100644
(file)
--- a/
src/output/cairo.c
+++ b/
src/output/cairo.c
@@
-204,6
+204,8
@@
parse_color (struct output_driver *d, struct string_map *options,
}
}
+ free (string);
+
/* Convert 16 bit ints to float */
*dred = red / (double) 0xFFFF;
*dgreen = green / (double) 0xFFFF;