forked from espressif/esp-idf
In httpd_register_uri_handler api, for the strdup function failure case was not checked and not returned any error by freeing previously allocated memory, if the memory allocation for strdup function did not gets successful. Closes https://github.com/espressif/esp-idf/issues/15878