fix use of uninitialized ptr error in event-get.c
fix use of uninitialized ptr error in event-get.c

ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead,ldm5180/hammerhead