use new for buf, fix possible memlaek

This commit is contained in:
satbaby
2012-09-18 18:38:03 +02:00
parent ca748c6f48
commit a84ba36e0b
3 changed files with 34 additions and 22 deletions

View File

@@ -84,7 +84,7 @@ class CStreamInfo2 : public CMenuTarget
uint64_t bit_s;
uint64_t abit_s;
uint64_t b_total;
unsigned char *dmxbuf;
int update_rate();
int ts_setup();
int ts_close();