diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-03-03 19:34:11 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-03-03 19:34:11 +0000 |
commit | 30ccc0698422f09f231807b64c00cb35597f5a64 (patch) | |
tree | 1132571bf3be2d20bfdce74bd24e12d82c459a78 /frontends/amiga/gui_menu.c | |
parent | 0a8976156a037bc2ec2d4d10f33334ada36eac9d (diff) | |
download | netsurf-30ccc0698422f09f231807b64c00cb35597f5a64.tar.gz netsurf-30ccc0698422f09f231807b64c00cb35597f5a64.tar.bz2 |
fix errors from cppcheck in amiga frontend
Diffstat (limited to 'frontends/amiga/gui_menu.c')
-rw-r--r-- | frontends/amiga/gui_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/gui_menu.c b/frontends/amiga/gui_menu.c index 6b9b2075d..0469dd59b 100644 --- a/frontends/amiga/gui_menu.c +++ b/frontends/amiga/gui_menu.c @@ -504,9 +504,9 @@ HOOKF(void, ami_menu_item_arexx_entries, APTR, window, struct IntuiMessage *) DevNameFromLock(lock, temp, 1024, DN_FULLPATH); AddPart(temp, script, 1024); ami_arexx_execute(temp); - free(temp); UnLock(lock); } + free(temp); } } } |