projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4306fc7
)
fix nasty memory-related crashes caused by not noticing a bug in getmntinfo() on...
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 9 Jan 2012 22:02:10 +0000
(22:02 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 9 Jan 2012 22:02:10 +0000
(22:02 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11211
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/pbd/mountpoint.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/mountpoint.cc
b/libs/pbd/mountpoint.cc
index 3cc94638a335023019d829dad5b1523d61573acb..045e8152827a47a9cd9b50947615f1046f294906 100644
(file)
--- 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;
}