Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 03077683 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix potential memory leak.

* Do not reset caller's *param to NULL when realloc fails.
  The caller will free *param.

Test: build with WITH_TIDY=1
Change-Id: Iadd800b77fea4ea423d440e6e97e4dfc00c09fcd
parent 4eeaffe5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment