User blog comment:Kyodaisuu/A program of Kirby-Paris hydra/@comment-1605058-20140817182644/@comment-24061664-20140818192429

I think hoge.c is intended for actual use and hoge_short.c is the short version of the program, and therefore he will update the hoge_short.c using malloc/realloc and return b. Error check for memory allocation is not required for the short version.