[dispatcher] Fixed two allocs for uri str. No more shm leak.
Merge pull request #279 from andrei-datcu/master

[dispatcher] Fixed two allocs for uri str. No more shm leak.