diff options
author | Alex Larsson <alexl@redhat.com> | 2002-02-06 16:52:07 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2002-02-06 16:52:07 +0000 |
commit | bc0dd44be46cb013eec59515f588eee947357a3d (patch) | |
tree | acd866f7d6059dc4a63d612154d1eb17d0dfb15d /src | |
parent | c366fb6cedf4051dd5139c86b74498de825ab481 (diff) | |
download | yelp-bc0dd44be46cb013eec59515f588eee947357a3d.tar.gz |
Correctly handle the case when gnome_vfs_uri_new() fails.
2002-02-06 Alex Larsson <alexl@redhat.com>
* src/yelp-util.c (yelp_util_extract_docpath_from_uri):
Correctly handle the case when gnome_vfs_uri_new() fails.
Diffstat (limited to 'src')
-rw-r--r-- | src/yelp-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yelp-util.c b/src/yelp-util.c index 8e67b2c2..588bbb41 100644 --- a/src/yelp-util.c +++ b/src/yelp-util.c @@ -515,6 +515,8 @@ yelp_util_extract_docpath_from_uri (const gchar *str_uri) docpath = gnome_vfs_unescape_string (escaped_string, NULL); } + } else { + return NULL; } } |