/kernel/branches/kolibri_pe/video/cursors.inc |
---|
366,8 → 366,8 |
stdcall load_file, [src] |
test eax, eax |
mov [src], eax |
jz .fail |
mov [src], eax |
@@: |
push ebx |
push esi |
383,7 → 383,9 |
cmp word [flags], LOAD_FROM_FILE |
jne .exit |
stdcall kernel_free, [src] |
mov ecx, [src] |
call @mem_free@4 |
.exit: |
pop edi |
pop esi |
436,7 → 438,8 |
destroy_cursor: |
push eax |
stdcall kernel_free, [eax+CURSOR.base] |
mov ecx, [eax+CURSOR.base] |
call @mem_free@4 |
pop eax |
call destroy_kernel_object |