Skip to content

Commit 237b9fc

Browse files
mnurczynskiglatosinski
authored andcommitted
[#82248] demo_app: main: Fixing model input/output buffer deallocation
Signed-off-by: Mateusz Nurczynski <[email protected]>
1 parent 7088b17 commit 237b9fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo_app/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ int main(void)
109109

110110
if (IS_VALID_POINTER(model_output))
111111
{
112-
free(model_output);
112+
k_free(model_output);
113113
}
114114
if (IS_VALID_POINTER(model_input))
115115
{
116-
free(model_input);
116+
k_free(model_input);
117117
}
118118

119119
if (STATUS_OK != status)

0 commit comments

Comments
 (0)