Re: [HACKERS] Memory leak

2017-07-29 Thread Fan Yang
You are right. When I add those code, it really give me a strong bad smell. It not worth these effort. Thanks for your reply and suggestion. -- Sincerely Fan Yang

[HACKERS] Memory leak

2017-07-29 Thread fan yang
Hi all, While reading the code, I find some code that make memory leak: - src/port/quotes.c At line 38, at function "escape_single_quotes_ascii", here used "malloc" to get some memory and return the pointer returned by the "malloc". So, any caller used this function shoule free