X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fjournal%2Ftest-journal-syslog.c;h=b9419372adb042e4cf2435b52951ade12bd03e09;hb=92f2ff4415b43e3265da0a1f09b24635f0874d55;hp=5cf940733bbf2d79477d566c00b3209c35c9fbf6;hpb=090be8653471e1abe3f1cdd32eaad0fbd65f85cd;p=elogind.git diff --git a/src/journal/test-journal-syslog.c b/src/journal/test-journal-syslog.c index 5cf940733..b9419372a 100644 --- a/src/journal/test-journal-syslog.c +++ b/src/journal/test-journal-syslog.c @@ -25,7 +25,7 @@ static void test_syslog_parse_identifier(const char* str, const char *ident, const char*pid, int ret) { const char *buf = str; - char *ident2 = NULL, *pid2 = NULL; + _cleanup_free_ char *ident2 = NULL, *pid2 = NULL; int ret2; ret2 = syslog_parse_identifier(&buf, &ident2, &pid2);