summaryrefslogtreecommitdiffstats
path: root/src/wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrap.c')
-rw-r--r--src/wrap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrap.c b/src/wrap.c
index e0bfdbe..327212c 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -293,13 +293,14 @@ wrap_search_internal_get_entry(Slapi_DN *dn, char *filter, char **attrs,
{
Slapi_PBlock *pb;
int ret;
+
+ *ret_entry = NULL;
#ifdef HAVE_SLAPI_SEARCH_INTERNAL_GET_ENTRY
if (filter == NULL) {
return slapi_search_internal_get_entry(dn, attrs,
ret_entry, caller_id);
}
#endif
- *ret_entry = NULL;
pb = slapi_pblock_new();
if (pb == NULL) {
return -1;