mirror of
				https://github.com/rofafor/vdr-plugin-satip.git
				synced 2023-10-10 11:37:42 +00:00 
			
		
		
		
	Fixed memory leak in cSatipSectionFilter.
This commit is contained in:
		| @@ -102,8 +102,11 @@ int cSatipSectionFilter::Filter(void) | ||||
|      if (doneqM && !neq) | ||||
|         return 0; | ||||
|  | ||||
|      if (ringBufferM && (secLenM > 0)) | ||||
|         ringBufferM->Put(new cFrame(secBufM, secLenM)); | ||||
|      if (ringBufferM && (secLenM > 0)) { | ||||
|         cFrame* section = new cFrame(secBufM, secLenM); | ||||
|         if (!ringBufferM->Put(section)) | ||||
|            DELETE_POINTER(section); | ||||
|         } | ||||
|      } | ||||
|   return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user