mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-14 18:13:53 +00:00
general: prefix all INTERNAL funcs/tables with zint_, except
those in "backend/common.h", which are prefixed by `z_` - makes symbol clashes more unlikely when zint is statically linked (ticket #337, props Ulrich Becker) DOTCODE: fix padding allowance (10 -> 52 - probable max 35) to cover cases with large no. of columns requested and little data, to prevent `codeword_array` buffer overflow AZTEC/CODEONE: some code fiddling general_field: prefix defines with `GF_`, shorten static funcs prefix `general_field_` -> `gf_`
This commit is contained in:
@@ -1437,6 +1437,8 @@ static void test_hrt(const testCtx *const p_ctx) {
|
||||
testFinish();
|
||||
}
|
||||
|
||||
INTERNAL void zint_vector_free(struct zint_symbol *symbol); /* Free vector structures */
|
||||
|
||||
static void test_vector_same(const testCtx *const p_ctx) {
|
||||
int debug = p_ctx->debug;
|
||||
|
||||
@@ -1494,7 +1496,7 @@ static void test_vector_same(const testCtx *const p_ctx) {
|
||||
for (j = 0; j < vectors_size; j++) {
|
||||
struct zint_symbol symbol_vector = {0}; /* Suppress clang -fsanitize=memory false positive */
|
||||
symbol_vector.vector = vectors[j];
|
||||
vector_free(&symbol_vector);
|
||||
zint_vector_free(&symbol_vector);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user