proc-main: Init proc_app_info memory strucutre before updating 67/314867/2 accepted/tizen/unified/20240723.034827 accepted/tizen/unified/dev/20240724.110046 accepted/tizen/unified/x/20240723.090004
authorUnsung Lee <unsung.lee@samsung.com>
Mon, 22 Jul 2024 05:25:51 +0000 (14:25 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Mon, 22 Jul 2024 10:14:00 +0000 (19:14 +0900)
commit494737ae291eabf716f0c4a8e85e10c28aad30f9
treeee9b3e74fb5c2f99c48cd311f8e95986f2f2cb43
parent2c1c2b29ba050178b0b023b9921d7f881de528f1
proc-main: Init proc_app_info memory strucutre before updating

Initaliize proc_app_info memory structure before updating the structure.
Currently, proc_app_info memory structure is updated before initalizing the structure.
After then, Initalization is done, so oom_score_adj of proc_app_info memory
is overwritten as wrong value.

Change-Id: Id545677f9982eb615636a9a992facc64f73d321f
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/process/proc-main.c