git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9535029
)
auth/credentials: remove pointless talloc_reference() from cli_credentials_get_princi...
author
Stefan Metzmacher
<metze@samba.org>
Wed, 31 Jul 2013 10:33:25 +0000
(12:33 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 5 Aug 2013 05:48:00 +0000
(17:48 +1200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/credentials/credentials.c
patch
|
blob
|
history
diff --git
a/auth/credentials/credentials.c
b/auth/credentials/credentials.c
index e5978099ca4838ab5ccc7d965f1517b3cb8c470f..7a4b081c611061db29deae908766d55dd02efc95 100644
(file)
--- a/
auth/credentials/credentials.c
+++ b/
auth/credentials/credentials.c
@@
-267,7
+267,7
@@
_PUBLIC_ const char *cli_credentials_get_principal_and_obtained(struct cli_crede
}
}
*obtained = cred->principal_obtained;
- return talloc_
reference
(mem_ctx, cred->principal);
+ return talloc_
strdup
(mem_ctx, cred->principal);
}
/**