mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 02:15:42 +01:00 
			
		
		
		
	HistoHeapInit: correct positions allocation size
Change-Id: I1879fd48bee3aea6f0504926d7030b504dd9be07
This commit is contained in:
		| @@ -586,7 +586,7 @@ static int HistoHeapInit(HistoHeap* const histo_heap, const int max_index) { | ||||
|   histo_heap->heap = WebPSafeMalloc(max_index * max_index, | ||||
|                                     sizeof(*histo_heap->heap)); | ||||
|   histo_heap->positions = WebPSafeMalloc(max_index * max_index, | ||||
|                                          sizeof(*histo_heap->heap)); | ||||
|                                          sizeof(*histo_heap->positions)); | ||||
|   return histo_heap->heap != NULL && histo_heap->positions != NULL; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user