title: Memory management w/ const char * and al_get_native_file_dialog_path()
body: <p>I'm using a library function which returns a const char * variable. Below is the code:</p>
  
  <pre><code>if (something) {
       const char* file = get_filename();
       save(file);
  }
  </code></pre>
  
  <p>Is there any need to deallocate the file variable inside the block, since it's in a block?</p>
  
  <p>The function I'm using is <code>al_get_native_file_dialog_path()</code>, from allegro 5 library. </p>
  
  <p>I've tried to search for any documentation on how the <code>const char *</code> variable is allocated, but nothing..</p>