diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-05-07 15:07:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:21:54 -0500 |
commit | a66a04e9f11f6c4462f2b56b447bae4eca7b177c (patch) | |
tree | 3e13993827ca64a6836ef241607464effa195a4d /source/libsmb/clikrb5.c | |
parent | a99ab3a2ed44522054175f03b60e63fa05a0378a (diff) | |
download | samba-a66a04e9f11f6c4462f2b56b447bae4eca7b177c.tar.gz samba-a66a04e9f11f6c4462f2b56b447bae4eca7b177c.tar.xz samba-a66a04e9f11f6c4462f2b56b447bae4eca7b177c.zip |
r22747: Fix some C++ warnings
Diffstat (limited to 'source/libsmb/clikrb5.c')
-rw-r--r-- | source/libsmb/clikrb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clikrb5.c b/source/libsmb/clikrb5.c index 64cfe6e952c..a668d3b55cb 100644 --- a/source/libsmb/clikrb5.c +++ b/source/libsmb/clikrb5.c @@ -1450,7 +1450,7 @@ done: *opt = NULL; - if ((my_opt = SMB_MALLOC(sizeof(krb5_get_init_creds_opt))) == NULL) { + if ((my_opt = SMB_MALLOC_P(krb5_get_init_creds_opt)) == NULL) { return ENOMEM; } |