test_record_conv: missing yaz_record_conv_destroy
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Jan 2015 11:11:16 +0000 (12:11 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Jan 2015 11:11:16 +0000 (12:11 +0100)
test/test_record_conv.c

index afd966e..07ac3e7 100644 (file)
@@ -336,13 +336,13 @@ static void tst_convert1(void)
                                   "</backend>",
                                   0, &p));
     YAZ_CHECK(conv_convert_test(p, marcxml_rec, marcxml_rec));
+    yaz_record_conv_destroy(p);
 
     YAZ_CHECK(conv_configure_test("<backend>"
                                   "<select path=\"/raw\"/>"
                                   "</backend>",
                                   0, &p));
     YAZ_CHECK(conv_convert_test(p, raw_rec, marcxml_rec));
-
     yaz_record_conv_destroy(p);
 }