From e53a5011237467c73c72b338570e4a455d2d1ef6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 8 Nov 2008 23:08:30 +0000 Subject: Return errors from constructors and destructors. svn path=/trunk/libparserutils/; revision=5652 --- test/regression/filter-segv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/regression/filter-segv.c') diff --git a/test/regression/filter-segv.c b/test/regression/filter-segv.c index 761caab..a884b6d 100644 --- a/test/regression/filter-segv.c +++ b/test/regression/filter-segv.c @@ -26,8 +26,8 @@ int main(int argc, char **argv) assert(parserutils_initialise(argv[1], myrealloc, NULL) == PARSERUTILS_OK); - input = parserutils_filter_create("UTF-8", myrealloc, NULL); - assert(input); + assert(parserutils_filter_create("UTF-8", myrealloc, NULL, &input) == + PARSERUTILS_OK); parserutils_filter_destroy(input); -- cgit v1.2.3