profile: don't abort when class does not exist

This commit is contained in:
Jaroslav Kysela 2014-10-13 15:00:27 +02:00
parent 7bc16b6dc8
commit f6e0f50b9b

View file

@ -74,7 +74,7 @@ profile_create
pb = profile_class_find(s);
if (pb == NULL) {
tvherror("profile", "wrong class %s!", s);
abort();
return NULL;
}
pro = pb->build();
if (pro == NULL) {