Skip to content
Permalink
Browse files
fix build when v8 is disabled (rfc 102)
  • Loading branch information
tbonfort committed Sep 27, 2013
1 parent a966c1c commit a09f2aeadf2a07c07e919a21f5e524f3aa0d4359
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -5896,7 +5896,9 @@ int initMap(mapObj *map)

msInitQuery(&(map->query));

#ifdef USE_V8
map->v8context = NULL;
#endif

return(0);
}
@@ -137,8 +137,10 @@ void msFreeMap(mapObj *map)

msFreeQuery(&(map->query));

#ifdef USE_V8
if (map->v8context)
msV8FreeContext(map);
#endif

msFree(map);
}

0 comments on commit a09f2ae

Please sign in to comment.