Fix: fixed a memory leak in stonithd and crmd.

I corrected the memory leak of stonithd discovered using valgrind, and crmd.