]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/writer.c
stringpool: Make them initializable right from the file
[people/ms/libloc.git] / src / writer.c
index a76c3f1ed6cb15dedc6447fab5c925320b93a988..177464634d5d9fcff6cdbb37e8efa88f5017dd99 100644 (file)
@@ -48,7 +48,7 @@ LOC_EXPORT int loc_writer_new(struct loc_ctx* ctx, struct loc_writer** writer) {
        w->ctx = loc_ref(ctx);
        w->refcount = 1;
 
-       int r = loc_stringpool_new(ctx, &w->pool, 1024 * 1024);
+       int r = loc_stringpool_new(ctx, &w->pool);
        if (r) {
                loc_writer_unref(w);
                return r;