diff options
author | deva <deva> | 2005-04-26 09:40:36 +0000 |
---|---|---|
committer | deva <deva> | 2005-04-26 09:40:36 +0000 |
commit | cbe7247fff0a395f804b35d2047c3994fa0fd675 (patch) | |
tree | a0663a2981a47fc9ec3dca6a2db8bb4f56525bfd /src/encoder.cc | |
parent | d2458728cd226a2651005acfd3241e1a5f77782c (diff) |
Removed frame memoryleak
Diffstat (limited to 'src/encoder.cc')
-rw-r--r-- | src/encoder.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/encoder.cc b/src/encoder.cc index d3f4925..08b587d 100644 --- a/src/encoder.cc +++ b/src/encoder.cc @@ -94,8 +94,7 @@ void Encoder::encode() n->sendPackage(&h, frame->data, frame->size); - // free(f->data); - // delete f; + delete frame; } } // pthread_exit(NULL); |