How to avoid memory leaks in current code (C) – Nginx
I am trying to create C-based HTML client. I`m quite new to C memory leaks debugging, so please see such (simplified) code of HTML response parser: //============= #include <stdio.h> #include <string.h> #include <stdlib.h> int str_index_of(const char *a, char *b) {…