diff --git a/include/datasource.hpp b/include/datasource.hpp index d93ec8ad7..03542ce7c 100644 --- a/include/datasource.hpp +++ b/include/datasource.hpp @@ -78,7 +78,7 @@ namespace mapnik { static void destroy(DATASOURCE* ds) { - destroy_ds(ds); + delete ds; } };