summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fdfa0de)
raw | patch | inline | side by side (parent: fdfa0de)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 14 May 2014 19:33:25 +0000 (21:33 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 14 May 2014 19:33:25 +0000 (21:33 +0200) |
This memory would be lost and appears as irrelevant noise in valgrind memory
checks.
checks.
t/unit/utils/dbi_test.c | patch | blob | history |
index 8a0811bda72a71670a8aa921cf1c0bc7f3e33126..1ad96d123f6b6431b87f8cfc3a83872ccc37fb1b 100644 (file)
--- a/t/unit/utils/dbi_test.c
+++ b/t/unit/utils/dbi_test.c
{
if (strcmp(name, "mockdriver"))
return NULL;
- return (dbi_driver)strdup(name);
+ return (dbi_driver)"mockdriver";
} /* dbi_driver_open */
dbi_driver