commit | 55ad781ca7fcaed19e04554b558727206d638a99 | [log] [tgz] |
---|---|---|
author | Wei Jiangang <weijg.fnst@cn.fujitsu.com> | Thu Apr 07 10:46:24 2016 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sun Jul 17 09:59:21 2016 +0200 |
tree | 3238b42fb35446849c71a6d5baafee314117a0f9 | |
parent | 6b92bbfe812746fe7841a24c24e6460f5359ce72 [diff] |
use g_path_get_dirname instead of dirname Use g_path_get_basename to get the directory components of a file name, and free its return when no longer needed. Signed-off-by: Wei Jiangang <weijg.fnst@cn.fujitsu.com> Message-Id: <1459997185-15669-3-git-send-email-weijg.fnst@cn.fujitsu.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>