aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-01-06 16:05:42 -0500
committerDavid Robillard <d@drobilla.net>2018-07-22 12:47:44 +0200
commit2fddc28b430ede69e44dcd69e3692993a7c1d161 (patch)
tree309fa87c7fb0adb5ea4b1e049a58ed9d1a40efc3 /src/reader.c
parent88ac6c757f5a40a604c14775cf11552fa657f0ad (diff)
downloadserd-2fddc28b430ede69e44dcd69e3692993a7c1d161.tar.gz
serd-2fddc28b430ede69e44dcd69e3692993a7c1d161.tar.bz2
serd-2fddc28b430ede69e44dcd69e3692993a7c1d161.zip
Add serd_free for freeing memory allocated by serd
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index c9b00f66..f37eac14 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -264,7 +264,7 @@ serd_reader_read_file(SerdReader* reader,
FILE* fd = serd_fopen((const char*)path, "rb");
if (!fd) {
- free(path);
+ serd_free(path);
return SERD_ERR_UNKNOWN;
}