diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2010-11-18 16:30:03 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2010-11-18 16:30:03 -0500 |
commit | ecc5b59c20c171f73af6f18b37cb646e5c1f48e7 (patch) | |
tree | 3de4e2f1f8a599ad6879b0b76c3eb1633d1eff91 /src/format.c | |
parent | 99ff500db5d28489e6db5a093046a31acac51e3c (diff) | |
download | slapi-nis-ecc5b59c20c171f73af6f18b37cb646e5c1f48e7.tar.gz slapi-nis-ecc5b59c20c171f73af6f18b37cb646e5c1f48e7.tar.xz slapi-nis-ecc5b59c20c171f73af6f18b37cb646e5c1f48e7.zip |
- do a full clear of some temporaries (valgrind)
Diffstat (limited to 'src/format.c')
-rw-r--r-- | src/format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c index b3588f7..95ee384 100644 --- a/src/format.c +++ b/src/format.c @@ -2227,6 +2227,8 @@ format_ifeq(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e, matched = FALSE; value = slapi_value_new(); for (i = 0; values[i] != NULL; i++) { + ret = 0; + memset(&bv, 0, sizeof(bv)); bv.bv_val = values[i]; bv.bv_len = lengths[i]; slapi_value_set_berval(value, &bv); |