(ioq_destroy) [aix, NeXT]: Remove special case, which leaked memory,
because freeing it didn't work at some time. Well, it either works now, or we'll find out what's wrong.
This commit is contained in:
parent
220ce8f00f
commit
7041932ae2
1 changed files with 0 additions and 3 deletions
|
@ -80,10 +80,7 @@ ioq_create(int size)
|
||||||
void
|
void
|
||||||
ioq_destroy(struct ioqueue *ioq)
|
ioq_destroy(struct ioqueue *ioq)
|
||||||
{
|
{
|
||||||
#if !defined(aix) && !defined(NeXT)
|
|
||||||
/* ioq_drain doesn't work under aix or NeXT... dunno why --ts */
|
|
||||||
ioq_drain(ioq);
|
ioq_drain(ioq);
|
||||||
#endif /* aix */
|
|
||||||
free(ioq);
|
free(ioq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue