summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2015-03-02 13:00:39 -0700
committerShawn Willden <swillden@google.com>2015-03-17 20:35:52 -0600
commit056ec1531752b6e8491269661581036a95c5d3e5 (patch)
tree8420b51dea246c0c2268c1c5120c7c22256d2558 /include
parentb58dcde804dc9f69f89c620592b910083f32b01c (diff)
downloadandroid_system_keymaster-056ec1531752b6e8491269661581036a95c5d3e5.tar.gz
android_system_keymaster-056ec1531752b6e8491269661581036a95c5d3e5.tar.bz2
android_system_keymaster-056ec1531752b6e8491269661581036a95c5d3e5.zip
Fix erroneous doc comment on AuthorizationSet.CopyToParamSet.
Change-Id: I7422f9264e6a769098d1e1e06ae2fe3a61fd3767
Diffstat (limited to 'include')
-rw-r--r--include/keymaster/authorization_set.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/keymaster/authorization_set.h b/include/keymaster/authorization_set.h
index 834bf3a..db1968c 100644
--- a/include/keymaster/authorization_set.h
+++ b/include/keymaster/authorization_set.h
@@ -123,8 +123,8 @@ class AuthorizationSet : public Serializable {
/**
* Returns the data in a keymaster_key_param_set_t, suitable for returning to C code. For C
- * compatibility, the allocated struct and its contents are malloced, not new'ed, and so must be
- * freed with free(), not delete. The caller takes ownership.
+ * compatibility, the contents are malloced, not new'ed, and so must be freed with free(), or
+ * better yet with keymaster_free_param_set, not delete. The caller takes ownership.
*/
void CopyToParamSet(keymaster_key_param_set_t* set) const;