fix memory leak
Stefan Schuermans

Stefan Schuermans commited on 2012-05-01 21:29:13
Showing 1 changed files, with 3 additions and 0 deletions.

... ...
@@ -307,6 +307,9 @@ void Receiver<ADDR, SOCK>::procFrame(const std::string &data)
307 307
   // pass on frame
308 308
   m_fileOutStream.setFrame(pFrame);
309 309
 
310
+  // frame not needed any more (stream creates copy for it use)
311
+  BlinkenFrameFree(pFrame);
312
+
310 313
   // set new stream timeout
311 314
   m_timeout = Time::now() + Time(5);
312 315
   m_needTimeout = true;
313 316