summaryrefslogtreecommitdiff
path: root/plugin/autoserial.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/autoserial.c')
-rw-r--r--plugin/autoserial.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/autoserial.c b/plugin/autoserial.c
index 16af5d7..7380cef 100644
--- a/plugin/autoserial.c
+++ b/plugin/autoserial.c
@@ -100,6 +100,9 @@ search_for_dns (const char *base, const char *filter, char ***results)
*(d++) = dn;
}
+ /* Null terminate */
+ *d = NULL;
+
slapi_pblock_destroy (pb);
*results = dns;