diff options
author | Ashley Cui <acui@redhat.com> | 2022-02-28 16:23:19 -0500 |
---|---|---|
committer | Ashley Cui <acui@redhat.com> | 2022-02-28 16:23:26 -0500 |
commit | 569319d3970c2e94e4c6586d4bb17e5cfc108fdf (patch) | |
tree | 843f87290ef42f8eee7e9d5963fa916a3172e4ea /vendor/github.com/ostreedev | |
parent | 2225c65f74b3358d810183558185a6344ef686ac (diff) | |
download | podman-569319d3970c2e94e4c6586d4bb17e5cfc108fdf.tar.gz podman-569319d3970c2e94e4c6586d4bb17e5cfc108fdf.tar.bz2 podman-569319d3970c2e94e4c6586d4bb17e5cfc108fdf.zip |
Vendor in containers/common@main
Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'vendor/github.com/ostreedev')
-rw-r--r-- | vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gvariant.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gvariant.go b/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gvariant.go index 30572ea87..6a6acfd9a 100644 --- a/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gvariant.go +++ b/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gvariant.go @@ -56,6 +56,9 @@ func (v *GVariant) native() *C.GVariant { } func (v *GVariant) Ptr() unsafe.Pointer { + if v == nil { + return nil + } return v.ptr } |