diff options
Diffstat (limited to 'src/ccapi/lib/ccapi_v2.c')
| -rw-r--r-- | src/ccapi/lib/ccapi_v2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ccapi/lib/ccapi_v2.c b/src/ccapi/lib/ccapi_v2.c index b19a807dec..08100481b3 100644 --- a/src/ccapi/lib/ccapi_v2.c +++ b/src/ccapi/lib/ccapi_v2.c @@ -723,6 +723,10 @@ cc_result cc_seq_fetch_NCs_end (apiCB *in_context, err = ccapi_ccache_iterator_release (iterator); } + if (!err) { + *io_iterator = NULL; + } + return cci_remap_error (err); } @@ -822,7 +826,7 @@ cc_result cc_seq_fetch_creds_end (apiCB *in_context, } if (!err) { - *iterator = NULL; + *io_iterator = NULL; } return cci_remap_error (err); |
