Browse Source

call destroy function in test_serial()

weiyongji 7 năm trước cách đây
mục cha
commit
a2f7ce699b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      test/core/gpr/mpscq_test.cc

+ 1 - 0
test/core/gpr/mpscq_test.cc

@@ -55,6 +55,7 @@ static void test_serial(void) {
     GPR_ASSERT(n->i == i);
     gpr_free(n);
   }
+  gpr_mpscq_destroy(&q);
 }
 
 typedef struct {