[sr-dev] git:master:641b7b23: utils: Don't leak memory of pkg_realloc returns NULL