diff options
Diffstat (limited to 'libs/pbd/mountpoint.cc')
-rw-r--r-- | libs/pbd/mountpoint.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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; } |