projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[kdbus] Update kdbus interface header (commit: b620b72c9127) 14/10/16
[platform/upstream/glib.git]
/
gio
/
ginetaddress.c
diff --git
a/gio/ginetaddress.c
b/gio/ginetaddress.c
index
8eac10b
..
9ff0c44
100644
(file)
--- a/
gio/ginetaddress.c
+++ b/
gio/ginetaddress.c
@@
-393,6
+393,8
@@
g_inet_address_new_from_string (const gchar *string)
struct in6_addr in6_addr;
#endif
+ g_return_val_if_fail (string != NULL, NULL);
+
/* If this GInetAddress is the first networking-related object to be
* created, then we won't have called g_networking_init() yet at
* this point.