mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
journal-upload: use mfree()
This commit is contained in:
@@ -271,8 +271,7 @@ int start_upload(Uploader *u,
|
||||
/* truncate the potential old error message */
|
||||
u->error[0] = '\0';
|
||||
|
||||
free(u->answer);
|
||||
u->answer = 0;
|
||||
u->answer = mfree(u->answer);
|
||||
}
|
||||
|
||||
/* upload to this place */
|
||||
|
||||
Reference in New Issue
Block a user