projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix double-free on error path
[babeltrace.git]
/
formats
/
ctf
/
ctf.c
diff --git
a/formats/ctf/ctf.c
b/formats/ctf/ctf.c
index ccc103c586d612cda7877e9168c6c5da22565a8e..37e314849c611844065e0605ef7fa3dbfafabce9 100644
(file)
--- a/
formats/ctf/ctf.c
+++ b/
formats/ctf/ctf.c
@@
-1028,7
+1028,6
@@
int ctf_open_trace_metadata_read(struct ctf_trace *td,
metadata_stream->pos.fd = openat(td->dirfd, "metadata", O_RDONLY);
if (metadata_stream->pos.fd < 0) {
fprintf(stderr, "Unable to open metadata.\n");
- g_free(metadata_stream);
ret = -1;
goto end_free;
}
This page took
0.023212 seconds
and
4
git commands to generate.