From a7b1b6581339b70d02eef2c0792928218ceb4b85 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 30 Jul 2013 01:50:41 +0200 Subject: Fixed mapserver crash (bugreport:7599) http://hercules.ws/board/tracker/issue-7599-map-crash-july-29-latest/ Follow-up to 853489b intif->create_pet was defined but never initialized, causing a mapserver crash (segmentation fault) whenever a pet was created. Thanks to jTynne for reporting it. Signed-off-by: Haru --- src/map/intif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/map/intif.c b/src/map/intif.c index b252d2607..bfacf7a35 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -2269,6 +2269,8 @@ void intif_defaults(void) { /* funcs */ intif->parse = intif_parse; + + intif->create_pet = intif_create_pet; intif->broadcast = intif_broadcast; intif->broadcast2 = intif_broadcast2; -- cgit v1.2.3-70-g09d2