Allocate storm::*Request on the stack

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: