summaryrefslogtreecommitdiff
path: root/src/encoder.cc
diff options
context:
space:
mode:
authordeva <deva>2005-04-26 09:40:36 +0000
committerdeva <deva>2005-04-26 09:40:36 +0000
commitcbe7247fff0a395f804b35d2047c3994fa0fd675 (patch)
treea0663a2981a47fc9ec3dca6a2db8bb4f56525bfd /src/encoder.cc
parentd2458728cd226a2651005acfd3241e1a5f77782c (diff)
Removed frame memoryleak
Diffstat (limited to 'src/encoder.cc')
-rw-r--r--src/encoder.cc3
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);