git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5445b2b
)
pycredentials: Allow optional "name" argument to get_named_ccache() to be missing
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 6 Jul 2017 02:44:46 +0000
(14:44 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 27 Jul 2017 22:25:13 +0000
(
00:25
+0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
auth/credentials/pycredentials.c
patch
|
blob
|
history
diff --git
a/auth/credentials/pycredentials.c
b/auth/credentials/pycredentials.c
index caf30bff4925e74e47f8750ca78757598af2efff..0a29c5863221143897a6262f247244a94338fe73 100644
(file)
--- a/
auth/credentials/pycredentials.c
+++ b/
auth/credentials/pycredentials.c
@@
-526,7
+526,7
@@
static PyObject *PyCredentialCacheContainer_from_ccache_container(struct ccache_
static PyObject *py_creds_get_named_ccache(PyObject *self, PyObject *args)
{
PyObject *py_lp_ctx = Py_None;
- char *ccache_name;
+ char *ccache_name
= NULL
;
struct loadparm_context *lp_ctx;
struct ccache_container *ccc;
struct tevent_context *event_ctx;