projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc2d71b
)
talloc_steal the packet after reading it
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 24 Jun 2014 13:20:25 +0000
(09:20 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 24 Jun 2014 13:20:43 +0000
(09:20 -0400)
src/main/listen.c
patch
|
blob
|
history
diff --git
a/src/main/listen.c
b/src/main/listen.c
index
c05b892
..
339e1e6
100644
(file)
--- a/
src/main/listen.c
+++ b/
src/main/listen.c
@@
-247,6
+247,7
@@
RADCLIENT *client_listener_find(rad_listen_t *listener,
talloc_free(request);
goto unknown;
}
+ (void) talloc_steal(request, request->packet);
request->reply = rad_alloc_reply(request, request->packet);
if (!request->reply) {
talloc_free(request);