* The ref_count member should definitely be initialized - thanks Stefano!
* This might fix bug #2894. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28277 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
struct PathList::path_entry {
|
struct PathList::path_entry {
|
||||||
path_entry(const char* _path)
|
path_entry(const char* _path)
|
||||||
|
:
|
||||||
|
ref_count(0)
|
||||||
{
|
{
|
||||||
path = strdup(_path);
|
path = strdup(_path);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user