Changeset: 941f95cfdc71 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/941f95cfdc71
Modified Files:
        sql/backends/monet5/vaults/shp/shp.c
Branch: geo-update
Log Message:

Fixed GDKRealloc call.


diffs (14 lines):

diff --git a/sql/backends/monet5/vaults/shp/shp.c 
b/sql/backends/monet5/vaults/shp/shp.c
--- a/sql/backends/monet5/vaults/shp/shp.c
+++ b/sql/backends/monet5/vaults/shp/shp.c
@@ -187,8 +187,8 @@ str createSHPtable(Client cntxt, str sch
                if (size <= (11 + strlen(field_definitions[i].fieldName) + 
strlen(temp_buf)))
                {
                        size = 2 * size;
-                       buf = realloc(buf, size);
-                       temp_buf = realloc(temp_buf, size);
+                       buf = GDKrealloc(buf, size);
+                       temp_buf = GDKrealloc(temp_buf, size);
                }
                nameToLowerCase = toLower(field_definitions[i].fieldName);
                if (strcmp(field_definitions[i].fieldType, "Integer") == 0)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to