Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: sandbox/src/acl.h

Issue 9107029: Fix memory dealocatiom mismatch by using scoped_ptr_malloc (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sandbox/src/acl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/src/acl.h
===================================================================
--- sandbox/src/acl.h (revision 116953)
+++ sandbox/src/acl.h (working copy)
@@ -13,7 +13,8 @@
namespace sandbox {
// Returns the default dacl from the token passed in.
-bool GetDefaultDacl(HANDLE token, scoped_ptr<TOKEN_DEFAULT_DACL>* default_dacl);
+bool GetDefaultDacl(HANDLE token,
+ scoped_ptr_malloc<TOKEN_DEFAULT_DACL>* default_dacl);
// Appends an ACE represented by |sid| and |access| to |old_dacl|. If the
// function succeeds, new_dacl contains the new dacl and must be freed using
« no previous file with comments | « no previous file | sandbox/src/acl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698