summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-10-23 21:30:00 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2013-10-23 21:30:00 (GMT)
commit730e6ce9eeb9393243a4e0fe4eed229bf5414bc2 (patch)
tree1e2ff06481153e78245722281a24e955ae280c31
parentbe27acac0bf1f792be992b7913133a633a8c0b98 (diff)
downloadlibnsfb-730e6ce9eeb9393243a4e0fe4eed229bf5414bc2.tar.gz
libnsfb-730e6ce9eeb9393243a4e0fe4eed229bf5414bc2.tar.bz2
Free plotter function table.
-rw-r--r--src/libnsfb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnsfb.c b/src/libnsfb.c
index 67fc15c..250df00 100644
--- a/src/libnsfb.c
+++ b/src/libnsfb.c
@@ -55,6 +55,9 @@ nsfb_free(nsfb_t *nsfb)
if (nsfb->palette != NULL)
nsfb_palette_free(nsfb->palette);
+ if (nsfb->plotter_fns != NULL)
+ free(nsfb->plotter_fns);
+
ret = nsfb->surface_rtns->finalise(nsfb);
free(nsfb->surface_rtns);
free(nsfb);