diff options
author | deva <deva> | 2005-04-26 09:43:41 +0000 |
---|---|---|
committer | deva <deva> | 2005-04-26 09:43:41 +0000 |
commit | 0ffc2529d674a71a794effaa0975364c219f9115 (patch) | |
tree | 7e2a3fb8a3aacb3cb01dc6b8fd2e4afc5e432b61 /src | |
parent | cbe7247fff0a395f804b35d2047c3994fa0fd675 (diff) |
*** empty log message ***
Diffstat (limited to 'src')
-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 08b587d..1664588 100644 --- a/src/encoder.cc +++ b/src/encoder.cc @@ -93,9 +93,8 @@ void Encoder::encode() if(shoot_request != shoot_value) shoot_value = shoot_request; n->sendPackage(&h, frame->data, frame->size); - - delete frame; } + if(frame) delete frame; } // pthread_exit(NULL); } |