diff --git a/libs/pbd/mountpoint.cc b/libs/pbd/mountpoint.cc index 3cc94638a3..045e815282 100644 --- a/libs/pbd/mountpoint.cc +++ b/libs/pbd/mountpoint.cc @@ -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; }