Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-nbctl: Fix unhandled NULL return from normalize_prefix_str
The normalize_prefix_str returns NULL when it fails to normalize the specified string. Prevent UB with formatting NULL with %s and simplify the free pattern. Signed-off-by: Ales Musil <amusil@redhat.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Mark Michelson <mmichels@redhat.com>
- Loading branch information