diff options
Diffstat (limited to 'jim-history.c')
-rw-r--r-- | jim-history.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/jim-history.c b/jim-history.c index c43bdca..39ddf5d 100644 --- a/jim-history.c +++ b/jim-history.c @@ -24,7 +24,6 @@ static int history_cmd_getline(Jim_Interp *interp, int argc, Jim_Obj *const *arg /* Returns the length of the string if varName was specified */ if (argc == 2) { if (Jim_SetVariable(interp, argv[1], objPtr) != JIM_OK) { - Jim_FreeNewObj(interp, objPtr); return JIM_ERR; } Jim_SetResultInt(interp, Jim_Length(objPtr)); |