summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 65075932ae..efde5f30e4 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -282,6 +282,7 @@ static const struct URLProtocol *url_find_protocol(const char *filename)
return up;
}
}
+ av_freep(&protocols);
return NULL;
}