1
0
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:
David Tardon 2023-05-24 14:27:27 +02:00
parent a73e5eb94c
commit 5bcd12cae0

View File

@ -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 */