Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 9f7832f

Browse files
committed
Forgot to release some data.
1 parent e3ce4b1 commit 9f7832f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/rosetta_extract_dom.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ int main(int argc, char **argv)
8585

8686
int ret;
8787

88+
buffer = NULL;
89+
root = NULL;
90+
8891
if(4 != argc)
8992
{
9093
usage();
@@ -149,6 +152,7 @@ int main(int argc, char **argv)
149152
}
150153
}
151154
}
155+
PDS_DOM_delete(root);
152156
free(buffer);
153157
return ret ? EXIT_SUCCESS : EXIT_FAILURE;
154158
}

0 commit comments

Comments
 (0)