diff options
Diffstat (limited to 'common/gmountspec.c')
-rw-r--r-- | common/gmountspec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/gmountspec.c b/common/gmountspec.c index d4986aff..009ad900 100644 --- a/common/gmountspec.c +++ b/common/gmountspec.c @@ -123,6 +123,9 @@ add_item (GMountSpec *spec, { GMountSpecItem item; + g_return_if_fail (key != NULL); + g_return_if_fail (value != NULL); + item.key = g_strdup (key); item.value = value; |