mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
parent
006f24c7fa
commit
fb8d8f5428
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ BufferedSink::~BufferedSink()
|
||||||
/* We can't call flush() here, because C++ for some insane reason
|
/* We can't call flush() here, because C++ for some insane reason
|
||||||
doesn't allow you to call virtual methods from a destructor. */
|
doesn't allow you to call virtual methods from a destructor. */
|
||||||
assert(!bufPos);
|
assert(!bufPos);
|
||||||
if (buffer) delete[] buffer;
|
delete[] buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ void Source::operator () (unsigned char * data, size_t len)
|
||||||
|
|
||||||
BufferedSource::~BufferedSource()
|
BufferedSource::~BufferedSource()
|
||||||
{
|
{
|
||||||
if (buffer) delete[] buffer;
|
delete[] buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue