Turns out the only thing we didn't do in bfs_free_cookie was - actually
free the cookie. One memory leak less... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23960 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1333,6 +1333,7 @@ bfs_free_cookie(void *_ns, void *_node, void *_cookie)
|
|||||||
volume->Allocator().StopChecking(NULL);
|
volume->Allocator().StopChecking(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(cookie);
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user