diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index ff0e0c83e4..b6b79068a2 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -104,7 +104,7 @@ void ApplyGraphicOptions() void ExitGame() { SDL_Event *event; - event = (SDL_Event *) malloc(sizeof(event)); + event = (SDL_Event *) malloc(sizeof(SDL_Event)); event->type = SDL_QUIT; SDL_PushEvent(event); }