mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
plug leak when ARG_OFFSET and ARG_BERVAL (ITS#6634)
This commit is contained in:
parent
9146659c6c
commit
8be2af29bb
@ -467,7 +467,7 @@ config_get_vals(ConfigTable *cf, ConfigArgs *c)
|
||||
c->value_string = ch_strdup(*(char **)ptr);
|
||||
break;
|
||||
case ARG_BERVAL:
|
||||
ber_dupbv( &c->value_bv, (struct berval *)ptr ); break;
|
||||
c->value_bv = *((struct berval *)ptr); break;
|
||||
case ARG_ATDESC:
|
||||
c->value_ad = *(AttributeDescription **)ptr; break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user