daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==9661== 1 errors in context 3 of 21:
  2. ==9661== Invalid write of size 1
  3. ==9661==    at 0x40503B: AudioReceiver::AudioReceiver(QByteArray, QObject*) (audioreceiver.cpp:9)
  4. ==9661==    by 0x409C40: MediaManager::MediaManager(QObject*) (mediamanager.cpp:7)
  5. ==9661==    by 0x402EEA: main (main.cpp:18)
  6. ==9661==  Address 0x98c4260 is 0 bytes after a block of size 80 alloc'd
  7. ==9661==    at 0x4C28B42: operator new(unsigned long) (vg_replace_malloc.c:261)
  8. ==9661==    by 0x409C2B: MediaManager::MediaManager(QObject*) (mediamanager.cpp:7)
  9. ==9661==    by 0x402EEA: main (main.cpp:18)
  10.  
  11.  
  12. audioreceiver.h
  13.  
  14. ...
  15. private:
  16.    bool is_initialized;
  17.  
  18.  
  19. audioreceiver.cpp
  20.  
  21. AudioReceiver::AudioReceiver(QByteArray audio_url, QObject *parent) :
  22.     QObject(parent)
  23. {
  24.     this->is_initialized = false;  // this is the line number 9
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top