diff --git a/Makefile b/Makefile index 65a91ba..a519794 100644 --- a/Makefile +++ b/Makefile @@ -122,8 +122,9 @@ run-gdb: all -ex "set args -C debian/etc -M debian/var/models -U debian/var/users" run-valgrind: all - @valgrind --leak-check=full -s bin/gem-graph-server \ - -C debian/etc -M debian/var/models -U debian/var/users + @valgrind --leak-check=full -s \ + bin/gem-graph-server -C debian/etc -M debian/var/models \ + -U debian/var/users run-both: all @bin/gem-graph-server -C debian/etc -M debian/var/models \ diff --git a/src/model.c b/src/model.c index a587c37..b214baa 100644 --- a/src/model.c +++ b/src/model.c @@ -92,6 +92,8 @@ int ModelUnload(int id) // Resize loaded model list loadedModel = (Model_t**) realloc(loadedModel, loadedModelSize * sizeof(Model_t*)); + + return 0; } /* -------------------------------------------------------------------------- */