route/pktloc: read_pktlocs() always returned success status
Error found by coverity. Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
90cfeeecac
commit
3d5e4883be
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ errout_close:
|
|||
errout:
|
||||
free(path);
|
||||
|
||||
return 0;
|
||||
return err;
|
||||
}
|
||||
|
||||
/** @endcond */
|
||||
|
|
Loading…
Add table
Reference in a new issue