Huw Davies (@huw) commented about dlls/nsi/nsi.c:
void WINAPI NsiFreeTable( void *key_data, void *rw_data, void *dynamic_data, void *static_data ) { TRACE( "%p %p %p %p\n", key_data, rw_data, dynamic_data, static_data );
- heap_free( key_data );
- heap_free( rw_data );
- heap_free( dynamic_data );
- heap_free( static_data );
- free( key_data );
- free( rw_data );
- free( dynamic_data );
- free( static_data );
These need to match the allocation method of NsiAllocateAndGetTable()