fix a couple of issues found with llvm-analyze
This commit is contained in:
@@ -273,6 +273,7 @@ finish:
|
||||
free(message);
|
||||
free(monotonic);
|
||||
free(realtime);
|
||||
free(priority);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user