Fix from google3: memory leak caught by heapcheck.

pull/13171/head
Josh Haberman 9 years ago
parent d56339e6ff
commit 7c6a763bd8
  1. 1
      tests/test_def.c

@ -252,6 +252,7 @@ static void test_cycles_in_replacement() {
&s, NULL);
ASSERT_STATUS(upb_symtab_add(s, (upb_def**)&m, 1, &s, &status), &status);
ASSERT_STATUS(upb_symtab_add(s, NULL, 0, &s, &status), &status);
upb_symtab_unref(s, &s);
}
static void test_freeze_free() {

Loading…
Cancel
Save