@@ -3599,6 +3599,9 @@ _test_sample_versioned_api_example_1 (void)
3599
3599
3600
3600
mongoc_client_set_server_api (client , server_api , & error );
3601
3601
/* End Versioned API Example 1 */
3602
+
3603
+ mongoc_client_destroy (client );
3604
+ mongoc_server_api_destroy (server_api );
3602
3605
}
3603
3606
3604
3607
static void
@@ -3629,6 +3632,9 @@ _test_sample_versioned_api_example_2 (void)
3629
3632
3630
3633
mongoc_client_set_server_api (client , server_api , & error );
3631
3634
/* End Versioned API Example 2 */
3635
+
3636
+ mongoc_client_destroy (client );
3637
+ mongoc_server_api_destroy (server_api );
3632
3638
}
3633
3639
3634
3640
static void
@@ -3659,6 +3665,9 @@ _test_sample_versioned_api_example_3 (void)
3659
3665
3660
3666
mongoc_client_set_server_api (client , server_api , & error );
3661
3667
/* End Versioned API Example 3 */
3668
+
3669
+ mongoc_client_destroy (client );
3670
+ mongoc_server_api_destroy (server_api );
3662
3671
}
3663
3672
3664
3673
static void
@@ -3689,6 +3698,9 @@ _test_sample_versioned_api_example_4 (void)
3689
3698
3690
3699
mongoc_client_set_server_api (client , server_api , & error );
3691
3700
/* End Versioned API Example 4 */
3701
+
3702
+ mongoc_client_destroy (client );
3703
+ mongoc_server_api_destroy (server_api );
3692
3704
}
3693
3705
3694
3706
static void
0 commit comments