diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2015-07-19 15:42:00 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2015-08-03 22:30:20 +0100 |
commit | 093e64c448108483fb1c8f5bccc13d12b547550c (patch) | |
tree | b995acf0043f3ad3db9d89028e5e71fd98e6a136 /src | |
parent | 0b624c7fba92d74858746328888548d28b55f84a (diff) | |
download | libnslayout-093e64c448108483fb1c8f5bccc13d12b547550c.tar.gz libnslayout-093e64c448108483fb1c8f5bccc13d12b547550c.tar.bz2 |
Add nslayout_layout_destroy basic API testing.
Diffstat (limited to 'src')
-rw-r--r-- | src/layout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout.c b/src/layout.c index 773996a..43570fb 100644 --- a/src/layout.c +++ b/src/layout.c @@ -49,6 +49,7 @@ nslayout_error nslayout_layout_destroy( nslayout_layout *layout) { /* TODO: free/unref the stuff we own in the layout */ + assert(layout != NULL); free(layout); return NSLAYOUT_OK; |