Patch 1

make stocking a char ** and malloc() it properly.