diff options
Diffstat (limited to 'source3/include/rpc_misc.h')
-rw-r--r-- | source3/include/rpc_misc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 7398b8ac57..e47853c2a2 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -323,6 +323,18 @@ typedef struct lsa_policy_info uint16 data3; uint16 data4; uint8 data5[8]; + +#ifdef __INSURE__ + + /* To prevent the leakage of policy handles mallocate a bit of + memory when a policy handle is created and free it when the + handle is closed. This should cause Insure to flag an error + when policy handles are overwritten or fall out of scope without + being freed. */ + + char *marker; +#endif + } POLICY_HND; /* |