outbound: Fix memory leak

- Free parameters parsed when checking for ob markers
(cherry picked from commit 392689597376eb6f047c12504bcce367f5940260)
core/parser: Free rr correctly in error cases

- Fix potential memory leak if parameters are parsed into rr structure
(cherry picked from commit b40d92962b680ac29dd38ffe3c8f1aa1e39d3a97)