Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-1393 Cleanup frontend codebase II
  3. STOR-1320

Allocate storm::*Request on the stack

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • frontend
    • Security Level: Public (Visbile by non-authn users.)
    • None

      PutStatusRequest, GetStatusRequest, BolStatusRequest and CopyStatusRequeste in asynch_status.cpp and PtpRequeste, PtgRequest, CopyRequest and BolRequest in asynch.cpp are allocated on the heap, whereas they can (and should) be allocated on the stack.

      The changes for PutStatusRequest are applied as a fix to https://issues.infn.it/jira/browse/STOR-1191

            giaco Francesco Giacomini
            giaco Francesco Giacomini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: