Coverity bug -- uninitialized variable
Negative error return not handled correctly

Coverity bug
Bad index ds1991

Coverity bug
dropped memory

Coverity bug
Resource leak in ownet

Coverity bub
typo fixed
Merge remote-tracking branch 'origin/master' into darwin