Browse Source

* Fix minor memory leak in cucul_free_canvas().

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
e366c39223
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      cucul/cucul.c

+ 2
- 0
cucul/cucul.c View File

@@ -261,6 +261,8 @@ int cucul_free_canvas(cucul_canvas_t *cv)
free(cv->allattr[f]);
}

free(cv->allchars);
free(cv->allattr);
free(cv);

return 0;


Loading…
Cancel
Save