13
0

fix nasty memory-related crashes caused by not noticing a bug in getmntinfo() on OS X, which disallows free()-ing memory allocated by that function

git-svn-id: svn://localhost/ardour2/branches/3.0@11211 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-01-09 22:02:10 +00:00
parent 4306fc7aee
commit e7bb933477

View File

@ -147,7 +147,11 @@ mountpoint (string path)
}
}
free(mntbufp);
/* From the manpage, under "BUGS" : "The memory allocated by getmntinfo() cannot be free(3)'d by the
application."
free(mntbufp);
*/
return best;
}