Changeset 74cb6610 in mainline


Ignore:
Timestamp:
2024-01-28T17:21:00Z (11 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
806d761
Parents:
f8b69a1e
Message:

Fix the reference leak for initial tasks too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    rf8b69a1e r74cb6610  
    313313         */
    314314        for (i = 0; i < init.cnt; i++) {
    315                 if (programs[i].task != NULL)
     315                if (programs[i].task != NULL) {
    316316                        program_ready(&programs[i]);
     317                        task_release(programs[i].task);
     318                }
    317319        }
    318320
Note: See TracChangeset for help on using the changeset viewer.