journal-file: check asprintf return value in the usual fashion
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 Jan 2017 16:36:08 +0000 (11:36 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 Jan 2017 16:41:46 +0000 (11:41 -0500)
commit7645c77b9bba2944f75db0276b93ef83d2393661
treecad6ef5c25ec167249f17c56a979aed6e81a1234
parent25cb94d431b2cd3b01616d138ff678a3a3ab60ee
journal-file: check asprintf return value in the usual fashion

This is unlikely to fail, but we cannot rely on asprintf return value
on failure, so let's just be correct here.

CID #1368236.
src/journal/journal-file.c