diff options
author | Stef Walter <stef@memberwebs.com> | 2008-06-10 00:15:36 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-06-10 00:15:36 +0000 |
commit | d51dfc6d13785641061bb7e7d5909a7a0f3ecfdb (patch) | |
tree | eacaf6843a443cd82cdaf0f5e35fb1eabc94a24a /plugin/autoserial.c | |
parent | 33846e5122fbf8a964f278eb01ad821e643bb63c (diff) |
Null terminate things propelry
Diffstat (limited to 'plugin/autoserial.c')
-rw-r--r-- | plugin/autoserial.c | 3 |
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; |