* dtable.cc (dtable::extend): Change order of memcpy and cfree.
This commit is contained in:
@@ -91,8 +91,8 @@ dtable::extend (int howmuch)
|
||||
}
|
||||
if (fds)
|
||||
{
|
||||
cfree (fds);
|
||||
memcpy (newfds, fds, size * sizeof (fds[0]));
|
||||
cfree (fds);
|
||||
}
|
||||
|
||||
size = new_size;
|
||||
|
Reference in New Issue
Block a user