This seems rather pointless considering there are still stupid bstrdup0()s left, but maybe this is the right direction.
1916b95b8
23cb829072