diff --git a/src/demo/fallin.c b/src/demo/fallin.c index 3d43e5948..69fab701a 100644 --- a/src/demo/fallin.c +++ b/src/demo/fallin.c @@ -70,7 +70,6 @@ drop_bricks(struct notcurses* nc, struct ncplane** arr, int arrcount){ } }while(rangee - ranges + 1 >= FALLINGMAX); } - free(arr); return 0; } diff --git a/tools/release.sh b/tools/release.sh index a1a898112..25b771cd2 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -11,10 +11,13 @@ VERSION="$2" vi CHANGELOG.md -BUMP="CMakeLists.txt doc/Doxyfile doc/FreeBSD-Makefile doc/man/man*/* doc/man/index.html python/setup.py rust/*/Cargo.toml rust/libnotcurses-sys/build.rs tools/notcurses.spec" +git clean -f -d -x +BUMP="CMakeLists.txt doc/Doxyfile doc/FreeBSD-Makefile doc/man/man*/* doc/man/index.html python/setup.py rust/*/Cargo.toml rust/libnotcurses-sys/build.rs" for i in $BUMP ; do sed -i -e "s/$OLDVERSION/$VERSION/g" $i done +echo "Checking for instances of $OLDVERSION..." +grep -rF "$OLDVERSION" * git commit -a -m v$VERSION git push git pull