fix a couple of issues found with llvm-analyze

This commit is contained in:
Lennart Poettering
2012-08-08 23:54:21 +02:00
parent c269cec334
commit 64825d3c58
7 changed files with 14 additions and 8 deletions
+1
View File
@@ -273,6 +273,7 @@ finish:
free(message);
free(monotonic);
free(realtime);
free(priority);
return r;
}
+1 -1
View File
@@ -275,7 +275,7 @@ char *ascii_filter(const char *str) {
if (!r)
return NULL;
for (s = r, d = r; *s; s++)
for (s = str, d = r; *s; s++)
if ((unsigned char) *s < 128)
*(d++) = *s;