proc-main: Init proc_app_info memory strucutre before updating 49/314849/1 accepted/tizen/8.0/unified/20240724.010423
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 05:54:48 +0000 (14:54 +0900)
commitcf722780b528b9da6be8633e5d6fc24ae7e3d2ad
tree1fc4615c47487c1c2a8119f2a077cc07ee45a23a
parentad1910a90b3574848aa187ab4ac7b87bee9cbf86
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