327a27
diff -up libsndfile-1.0.28/src/sndfile.c.fixfree libsndfile-1.0.28/src/sndfile.c
327a27
--- libsndfile-1.0.28/src/sndfile.c.fixfree	2018-10-15 14:24:26.521941046 +0200
327a27
+++ libsndfile-1.0.28/src/sndfile.c	2018-10-15 14:24:26.534940869 +0200
327a27
@@ -339,6 +339,7 @@ sf_open	(const char *path, int mode, SF_
327a27
 
327a27
 	if (copy_filename (psf, path) != 0)
327a27
 	{	sf_errno = psf->error ;
327a27
+		free(psf);
327a27
 		return	NULL ;
327a27
 		} ;
327a27