mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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:
parent
4306fc7aee
commit
e7bb933477
1 changed files with 5 additions and 1 deletions
|
|
@ -147,7 +147,11 @@ mountpoint (string path)
|
|||
}
|
||||
}
|
||||
|
||||
/* From the manpage, under "BUGS" : "The memory allocated by getmntinfo() cannot be free(3)'d by the
|
||||
application."
|
||||
|
||||
free(mntbufp);
|
||||
*/
|
||||
|
||||
return best;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue