Fix a return

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2014-01-20 00:55:39 +01:00
parent 34b5c556fe
commit 9c45dd5278

View file

@ -217,7 +217,7 @@ mark_add(zathura_t* zathura, int key)
/* add new mark */
zathura_mark_t* mark = g_try_malloc0(sizeof(zathura_mark_t));
if (mark == NULL) {
return NULL;
return;
}
mark->key = key;