aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
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;
}