Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
4040fc39
Commit
4040fc39
authored
Jan 29, 1999
by
Kurt Zeilenga
Browse files
zap ber buf pointer on free.
parent
26d29bb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblber/io.c
View file @
4040fc39
...
...
@@ -264,6 +264,7 @@ ber_free( BerElement *ber, int freebuf )
{
if
(
freebuf
&&
ber
->
ber_buf
!=
NULL
)
free
(
ber
->
ber_buf
);
ber
->
ber_buf
=
NULL
;
free
(
(
char
*
)
ber
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment