Changeset 73751c0 in mainline for uspace/app/sbi/src/imode.c


Ignore:
Timestamp:
2011-03-18T12:16:36Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b495a93
Parents:
42a3a57 (diff), b64eac6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge with usb/development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/imode.c

    r42a3a57 r73751c0  
    11/*
    2  * Copyright (c) 2010 Jiri Svoboda
     2 * Copyright (c) 2011 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    178178                        /* Convert expression result to value item. */
    179179                        run_cvt_value_item(&run, rexpr, &rexpr_vi);
     180                        rdata_item_destroy(rexpr);
     181
     182                        /* Check for unhandled exceptions. */
     183                        run_exc_check_unhandled(&run);
     184                } else {
     185                        rexpr_vi = NULL;
     186                }
     187
     188                /*
     189                 * rexpr_vi can be NULL if either repxr was null or
     190                 * if the conversion to value item raised an exception.
     191                 */
     192                if (rexpr_vi != NULL) {
    180193                        assert(rexpr_vi->ic == ic_value);
    181194
     
    184197                        rdata_value_print(rexpr_vi->u.value);
    185198                        printf("\n");
     199
     200                        rdata_item_destroy(rexpr_vi);
    186201                }
    187202        }
     203
     204        run_proc_ar_destroy(&run, proc_ar);
    188205
    189206        /* Remove block visit record from the stack, */
Note: See TracChangeset for help on using the changeset viewer.