]> sigrok.org Git - pulseview.git/commitdiff
Snapshot classes: Use vector instead of raw pointer
authorJens Steinhauser <redacted>
Wed, 27 Aug 2014 09:12:40 +0000 (11:12 +0200)
committerUwe Hermann <redacted>
Wed, 27 Aug 2014 16:54:35 +0000 (18:54 +0200)
As a side-effect this turns a segfault (see bug #397) into a segfault
with a more usable message:

  terminate called after throwing an instance of 'std::bad_alloc'
    what():  std::bad_alloc
  Aborted (core dumped)


No differences found