dma: fix use-after-free
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
966dfbf910
commit
8448a47dcb
@ -331,8 +331,8 @@ deliver(struct qitem *it)
|
||||
|
||||
switch (error) {
|
||||
case 0:
|
||||
delqueue(it);
|
||||
syslog(LOG_INFO, "<%s> delivery successful", it->addr);
|
||||
delqueue(it);
|
||||
exit(EX_OK);
|
||||
|
||||
case 1:
|
||||
|
Loading…
Reference in New Issue
Block a user