Add an element disposal function.
[pspp] / tests / test-array_oset.c
index b28e3d2194f9867a15598a6cf09fb9f86b8f1819..c114c86ca7aa6f5c8b638d88a4cd220cbcf0b75a 100644 (file)
@@ -88,7 +88,7 @@ main (int argc, char *argv[])
     unsigned int repeat;
 
     /* Create set1.  */
-    set1 = gl_oset_create_empty (GL_ARRAY_OSET, (gl_setelement_compar_fn) strcmp);
+    set1 = gl_oset_create_empty (GL_ARRAY_OSET, (gl_setelement_compar_fn) strcmp, NULL);
 
     /* Create set2.  */
     set2 = gl_list_create_empty (GL_ARRAY_LIST, NULL, NULL, false);