[sr-dev] git:master: core: helper function to free parsed header struct with inner free function