Accept zero-sized frames.

This commit is contained in:
Moritz Bunkus 2005-02-01 19:47:39 +00:00
parent 71827b49ba
commit 1a099c68c2

View File

@ -89,8 +89,6 @@ public:
return 0;
}
unsigned char *grab() {
if (size == 0)
die("memory_c::grab(): size == 0\n");
if (is_free) {
is_free = false;
return data;