mirror of
https://github.com/systemd/systemd.git
synced 2025-01-13 17:18:18 +03:00
journal-upload: use mfree()
This commit is contained in:
parent
a73e5eb94c
commit
5bcd12cae0
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user